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

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

Issue 2326313003: Revert of Make canceling Timers fast. (Closed)
Patch Set: 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/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 ca810dd885da699d5f95bf62d198d836bc44dee7..0c654ee77e942a618665fac72a4d39af8ac30af4 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
@@ -23,6 +23,24 @@
bool RunsTasksOnCurrentThread() const override {
return task_runner_->RunsTasksOnCurrentThread();
+ }
+
+ TaskQueue::TaskHandle PostCancellableDelayedTask(
+ const tracked_objects::Location& from_here,
+ const base::Closure& task,
+ base::TimeDelta delay) {
+ NOTREACHED();
+ return TaskHandle();
+ }
+
+ bool CancelTask(const TaskQueue::TaskHandle& handle) {
+ NOTREACHED();
+ return false;
+ }
+
+ bool IsTaskPending(const TaskQueue::TaskHandle& handle) const {
+ NOTREACHED();
+ return false;
}
bool PostDelayedTask(const tracked_objects::Location& from_here,

Powered by Google App Engine
This is Rietveld 408576698