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

Unified Diff: cc/tiles/tile_manager.cc

Issue 1489233003: TaskGraphRunner Group support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor
Patch Set: rebase Created 5 years 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: cc/tiles/tile_manager.cc
diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc
index 9804da00fb6b93eeb4875904a5890d7bce320bde..6163b8d929b17205fa04ddc9d935992b3c269252 100644
--- a/cc/tiles/tile_manager.cc
+++ b/cc/tiles/tile_manager.cc
@@ -171,7 +171,10 @@ void InsertNodeForTask(TaskGraph* graph,
[task](const TaskGraph::Node& node) {
return node.task == task;
}) == graph->nodes.end());
- graph->nodes.push_back(TaskGraph::Node(task, priority, dependencies));
+
+ // TODO(ericrk): Add in more logic around group selection.
+ graph->nodes.push_back(
+ TaskGraph::Node(task, 0 /* group */, priority, dependencies));
}
void InsertNodesForRasterTask(TaskGraph* graph,
« cc/raster/task_graph_work_queue.cc ('K') | « cc/test/task_graph_runner_test_template.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698