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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.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/Source/platform/scheduler/child/scheduler_helper.h
diff --git a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h
index 10e34e35884e5c9311de2f97b43bd93d39b16d94..02380606dc687b9dd9b47f12cb8a582f24dd6650 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h
+++ b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h
@@ -47,11 +47,6 @@ class BLINK_PLATFORM_EXPORT SchedulerHelper
// task queues.
scoped_refptr<TaskQueue> ControlTaskRunner();
- // Returns the control task after wakeup runner. Tasks posted to this runner
- // are executed with the highest priority but do not cause the scheduler to
- // wake up. Care must be taken to avoid starvation of other task queues.
- scoped_refptr<TaskQueue> ControlAfterWakeUpTaskRunner();
-
// Adds or removes a task observer from the scheduler. The observer will be
// notified before and after every executed task. These functions can only be
// called on the thread this class was created on.
@@ -114,7 +109,6 @@ class BLINK_PLATFORM_EXPORT SchedulerHelper
scoped_refptr<SchedulerTqmDelegate> task_queue_manager_delegate_;
std::unique_ptr<TaskQueueManager> task_queue_manager_;
scoped_refptr<TaskQueue> control_task_runner_;
- scoped_refptr<TaskQueue> control_after_wakeup_task_runner_;
scoped_refptr<TaskQueue> default_task_runner_;
Observer* observer_; // NOT OWNED

Powered by Google App Engine
This is Rietveld 408576698