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

Unified Diff: third_party/WebKit/public/platform/WebScheduler.h

Issue 2276353002: Remove after wakeup logic and replace PumpTask with Fences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Slight simplification Created 4 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
Index: third_party/WebKit/public/platform/WebScheduler.h
diff --git a/third_party/WebKit/public/platform/WebScheduler.h b/third_party/WebKit/public/platform/WebScheduler.h
index 1e04777faa4ac867d4f4f5e67e81dff950d93979..f8571b8826d478ed486529bdfd5d43bb2fd3f6b6 100644
--- a/third_party/WebKit/public/platform/WebScheduler.h
+++ b/third_party/WebKit/public/platform/WebScheduler.h
@@ -66,12 +66,6 @@ public:
// run earlier than it normally would.
virtual void postNonNestableIdleTask(const WebTraceLocation&, WebThread::IdleTask*) = 0;
- // Like postIdleTask but does not run the idle task until after some other
- // task has run. This enables posting of a task which won't stop the Blink
- // main thread from sleeping, but will start running after it wakes up.
- // Takes ownership of |IdleTask|. Can be called from any thread.
- virtual void postIdleTaskAfterWakeup(const WebTraceLocation&, WebThread::IdleTask*) = 0;
-
// Returns a WebTaskRunner for loading tasks. Can be called from any thread.
virtual WebTaskRunner* loadingTaskRunner() = 0;
@@ -111,7 +105,6 @@ public:
void postIdleTask(const WebTraceLocation&, std::unique_ptr<IdleTask>);
void postNonNestableIdleTask(const WebTraceLocation&, std::unique_ptr<IdleTask>);
- void postIdleTaskAfterWakeup(const WebTraceLocation&, std::unique_ptr<IdleTask>);
#endif
};

Powered by Google App Engine
This is Rietveld 408576698