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

Unified Diff: third_party/WebKit/Source/core/dom/ExecutionContext.h

Issue 2527143002: Suspend frame schedulers on a page suspension (Closed)
Patch Set: mod a comment Created 4 years 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/dom/ExecutionContext.h
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.h b/third_party/WebKit/Source/core/dom/ExecutionContext.h
index a5d91d53683c2d7557240b18fc795fa470421c01..e0c259d9cbd13bd5de48740cf3955d391676208d 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.h
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.h
@@ -125,8 +125,8 @@ class CORE_EXPORT ExecutionContext : public ContextLifecycleNotifier,
void stopActiveDOMObjects();
void notifyContextDestroyed() override;
- virtual void suspendScheduledTasks();
- virtual void resumeScheduledTasks();
+ void suspendScheduledTasks();
+ void resumeScheduledTasks();
virtual bool tasksNeedSuspension() { return false; }
virtual void tasksWereSuspended() {}
virtual void tasksWereResumed() {}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/MainThreadTaskRunner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698