Commit 7208b2e8 authored by tony@chromium.org's avatar tony@chromium.org

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.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e78e2eb3
2012-10-25 Tony Chang <tony@chromium.org>
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 <leoyang@rim.com>
[BlackBerry] Infinite redirect loop is not displayed to user
......@@ -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 @@ namespace WebCore {
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment