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

Unified Diff: third_party/WebKit/Source/core/frame/PlatformEventController.h

Issue 2648433003: Convert PlatformEventController Timer to use Unspeced frame-based timer. (Closed)
Patch Set: Convert PlatformEventController Timer to use Unspeced frame-based timer. Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/PlatformEventController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/PlatformEventController.h
diff --git a/third_party/WebKit/Source/core/frame/PlatformEventController.h b/third_party/WebKit/Source/core/frame/PlatformEventController.h
index 6063e477ec388bc4b5829988a5cc9190ccef7513..80f257516603a35278233a11a436dc2beacc4099 100644
--- a/third_party/WebKit/Source/core/frame/PlatformEventController.h
+++ b/third_party/WebKit/Source/core/frame/PlatformEventController.h
@@ -6,6 +6,7 @@
#define PlatformEventController_h
#include "core/CoreExport.h"
+#include "core/dom/TaskRunnerHelper.h"
#include "core/page/PageVisibilityObserver.h"
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
@@ -44,7 +45,7 @@ class CORE_EXPORT PlatformEventController : public PageVisibilityObserver {
void oneShotCallback(TimerBase*);
bool m_isActive;
- Timer<PlatformEventController> m_timer;
+ TaskRunnerTimer<PlatformEventController> m_timer;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/PlatformEventController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698