Title: [132562] trunk/Source/WebCore
Revision
132562
Author
[email protected]
Date
2012-10-25 19:54:44 -0700 (Thu, 25 Oct 2012)

Log Message

Remove unused static methods from DOMTimer.h
https://bugs.webkit.org/show_bug.cgi?id=100427

Reviewed by Kenneth Russell.

Since these values got moved into Settings, these methods are no longer called.

No new tests, removing dead code.

* page/DOMTimer.h:
(DOMTimer): Remove unused getters.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (132561 => 132562)


--- trunk/Source/WebCore/ChangeLog	2012-10-26 02:38:05 UTC (rev 132561)
+++ trunk/Source/WebCore/ChangeLog	2012-10-26 02:54:44 UTC (rev 132562)
@@ -1,3 +1,17 @@
+2012-10-25  Tony Chang  <[email protected]>
+
+        Remove unused static methods from DOMTimer.h
+        https://bugs.webkit.org/show_bug.cgi?id=100427
+
+        Reviewed by Kenneth Russell.
+
+        Since these values got moved into Settings, these methods are no longer called.
+
+        No new tests, removing dead code.
+
+        * page/DOMTimer.h:
+        (DOMTimer): Remove unused getters.
+
 2012-10-25  Leo Yang  <[email protected]>
 
         [BlackBerry] Infinite redirect loop is not displayed to user

Modified: trunk/Source/WebCore/page/DOMTimer.h (132561 => 132562)


--- trunk/Source/WebCore/page/DOMTimer.h	2012-10-26 02:38:05 UTC (rev 132561)
+++ trunk/Source/WebCore/page/DOMTimer.h	2012-10-26 02:54:44 UTC (rev 132562)
@@ -27,7 +27,6 @@
 #ifndef DOMTimer_h
 #define DOMTimer_h
 
-#include "Settings.h"
 #include "SuspendableTimer.h"
 #include "UserGestureIndicator.h"
 #include <wtf/OwnPtr.h>
@@ -60,16 +59,9 @@
 
         double intervalClampedToMinimum(int timeout, double minimumTimerInterval) const;
 
-        // The default minimum allowable timer setting (in seconds, 0.001 == 1 ms).
-        static double defaultMinTimerInterval() { return Settings::defaultMinDOMTimerInterval(); }
-
         // Retuns timer fire time rounded to the next multiple of timer alignment interval.
         virtual double alignedFireTime(double) const;
 
-        // The default timer alignment interval (in seconds). If non zero, timer fire times
-        // will be rounded to a multiple of the alignment interval.
-        static double defaultTimerAlignmentInterval() { return Settings::defaultDOMTimerAlignmentInterval(); }
-
         int m_timeoutId;
         int m_nestingLevel;
         OwnPtr<ScheduledAction> m_action;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to