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

Unified Diff: Source/core/dom/ScriptedIdleTaskController.h

Issue 1340263003: Rename IdleCallbackDeadline to IdleDeadline to be in sync with spec. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | « Source/core/dom/IdleRequestCallback.idl ('k') | Source/core/dom/ScriptedIdleTaskController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptedIdleTaskController.h
diff --git a/Source/core/dom/ScriptedIdleTaskController.h b/Source/core/dom/ScriptedIdleTaskController.h
index 8b2ce264209ee09a21d428e773171a328869caf0..99061463da2252a467290549e1a0012dfc09d57a 100644
--- a/Source/core/dom/ScriptedIdleTaskController.h
+++ b/Source/core/dom/ScriptedIdleTaskController.h
@@ -6,7 +6,7 @@
#define ScriptedIdleTaskController_h
#include "core/dom/ActiveDOMObject.h"
-#include "core/dom/IdleCallbackDeadline.h"
+#include "core/dom/IdleDeadline.h"
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
#include "wtf/RefCounted.h"
@@ -40,12 +40,12 @@ public:
void resume() override;
bool hasPendingActivity() const override;
- void callbackFired(CallbackId, double deadlineSeconds, IdleCallbackDeadline::CallbackType);
+ void callbackFired(CallbackId, double deadlineSeconds, IdleDeadline::CallbackType);
private:
explicit ScriptedIdleTaskController(ExecutionContext*);
- void runCallback(CallbackId, double deadlineSeconds, IdleCallbackDeadline::CallbackType);
+ void runCallback(CallbackId, double deadlineSeconds, IdleDeadline::CallbackType);
WebScheduler* m_scheduler; // Not owned.
PersistentHeapHashMapWillBeHeapHashMap<CallbackId, Member<IdleRequestCallback>> m_callbacks;
« no previous file with comments | « Source/core/dom/IdleRequestCallback.idl ('k') | Source/core/dom/ScriptedIdleTaskController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698