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

Unified Diff: cc/raster/synchronous_task_graph_runner.cc

Issue 1903733003: cc: Implement states for Task for stricter control. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@land_merge_tile_task_runner
Patch Set: feedback Created 4 years, 8 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
« no previous file with comments | « cc/raster/single_thread_task_graph_runner.cc ('k') | cc/raster/task.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/synchronous_task_graph_runner.cc
diff --git a/cc/raster/synchronous_task_graph_runner.cc b/cc/raster/synchronous_task_graph_runner.cc
index 2f5055d87b163287c0fa73682135ef771577a5d0..8987ca1e57f078d411351bda6a02451dff58eaa0 100644
--- a/cc/raster/synchronous_task_graph_runner.cc
+++ b/cc/raster/synchronous_task_graph_runner.cc
@@ -85,9 +85,7 @@ bool SynchronousTaskGraphRunner::RunTask() {
auto prioritized_task = work_queue_.GetNextTaskToRun(category);
Task* task = prioritized_task.task;
- task->WillRun();
task->RunOnWorkerThread();
- task->DidRun();
work_queue_.CompleteTask(prioritized_task);
« no previous file with comments | « cc/raster/single_thread_task_graph_runner.cc ('k') | cc/raster/task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698