Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Unified Diff: third_party/WebKit/Source/core/frame/SuspendableTimer.cpp

Issue 2191533003: Refactor Timer classes in preparation for landing FrameTimers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More build fixes Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/SuspendableTimer.cpp
diff --git a/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp b/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp
index 4f49681c7709d193d4d953659b2cfafcef8f6a68..537501572e5ca621fc7fa1e4bbc6cf549945233a 100644
--- a/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp
+++ b/third_party/WebKit/Source/core/frame/SuspendableTimer.cpp
@@ -34,7 +34,8 @@ const double kNextFireIntervalInvalid = -1.0;
}
SuspendableTimer::SuspendableTimer(ExecutionContext* context)
- : ActiveDOMObject(context)
+ : TimerBase(TimerBase::getTimerTaskRunner())
+ , ActiveDOMObject(context)
, m_nextFireInterval(kNextFireIntervalInvalid)
, m_repeatInterval(0)
#if ENABLE(ASSERT)

Powered by Google App Engine
This is Rietveld 408576698