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

Unified Diff: cc/raster/single_thread_task_graph_runner.cc

Issue 1666283002: Reland - Refactor signaling in RWP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix refcounting issue. Created 4 years, 10 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 | « no previous file | cc/raster/synchronous_task_graph_runner.cc » ('j') | cc/raster/task_graph_work_queue.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/single_thread_task_graph_runner.cc
diff --git a/cc/raster/single_thread_task_graph_runner.cc b/cc/raster/single_thread_task_graph_runner.cc
index ba879af6cb12d00150cb7346bd1f9ef8950d5645..68a9ea5a27047ffaf582747a914411da000f8205 100644
--- a/cc/raster/single_thread_task_graph_runner.cc
+++ b/cc/raster/single_thread_task_graph_runner.cc
@@ -146,7 +146,7 @@ bool SingleThreadTaskGraphRunner::RunTaskWithLockAcquired() {
const uint16_t category = found->first;
auto prioritized_task = work_queue_.GetNextTaskToRun(category);
- Task* task = prioritized_task.task;
+ Task* task = prioritized_task.task.get();
// Call WillRun() before releasing |lock_| and running task.
task->WillRun();
« no previous file with comments | « no previous file | cc/raster/synchronous_task_graph_runner.cc » ('j') | cc/raster/task_graph_work_queue.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698