Changeset 132562 in webkit


Ignore:
Timestamp:
Oct 25, 2012 7:54:44 PM (12 years ago)
Author:
tony@chromium.org
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.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r132556 r132562  
     12012-10-25  Tony Chang  <tony@chromium.org>
     2
     3        Remove unused static methods from DOMTimer.h
     4        https://bugs.webkit.org/show_bug.cgi?id=100427
     5
     6        Reviewed by Kenneth Russell.
     7
     8        Since these values got moved into Settings, these methods are no longer called.
     9
     10        No new tests, removing dead code.
     11
     12        * page/DOMTimer.h:
     13        (DOMTimer): Remove unused getters.
     14
    1152012-10-25  Leo Yang  <leoyang@rim.com>
    216
  • trunk/Source/WebCore/page/DOMTimer.h

    r132538 r132562  
    2828#define DOMTimer_h
    2929
    30 #include "Settings.h"
    3130#include "SuspendableTimer.h"
    3231#include "UserGestureIndicator.h"
     
    6160        double intervalClampedToMinimum(int timeout, double minimumTimerInterval) const;
    6261
    63         // The default minimum allowable timer setting (in seconds, 0.001 == 1 ms).
    64         static double defaultMinTimerInterval() { return Settings::defaultMinDOMTimerInterval(); }
    65 
    6662        // Retuns timer fire time rounded to the next multiple of timer alignment interval.
    6763        virtual double alignedFireTime(double) const;
    68 
    69         // The default timer alignment interval (in seconds). If non zero, timer fire times
    70         // will be rounded to a multiple of the alignment interval.
    71         static double defaultTimerAlignmentInterval() { return Settings::defaultDOMTimerAlignmentInterval(); }
    7264
    7365        int m_timeoutId;
Note: See TracChangeset for help on using the changeset viewer.