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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/compositor_worker_scheduler.cc

Issue 2540663002: Add the concept of QueueEnabledVoters to blink scheduler TaskQueue (Closed)
Patch Set: Fix test crashes and address feedback. Created 4 years, 1 month 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/compositor_worker_scheduler.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/child/compositor_worker_scheduler.cc b/third_party/WebKit/Source/platform/scheduler/child/compositor_worker_scheduler.cc
index 4370203da0ce27e7d469335682913d4f097b81ae..4a8d07cfd7061fea566d46f3c91e5a2d6528c13b 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/compositor_worker_scheduler.cc
+++ b/third_party/WebKit/Source/platform/scheduler/child/compositor_worker_scheduler.cc
@@ -37,7 +37,10 @@ class CompositorWorkerTaskRunnerWrapper : public TaskQueue {
return task_runner_->PostNonNestableDelayedTask(from_here, task, delay);
}
- void SetQueueEnabled(bool enabled) override { NOTREACHED(); }
+ std::unique_ptr<QueueEnabledVoter> CreateQueueEnabledVoter() override {
+ NOTREACHED();
+ return nullptr;
+ }
void InsertFence(InsertFencePosition position) override { NOTREACHED(); }

Powered by Google App Engine
This is Rietveld 408576698