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

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: 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
« no previous file with comments | « cc/test/task_graph_runner_test_template.cc ('k') | content/renderer/raster_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager.cc
diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc
index 9804da00fb6b93eeb4875904a5890d7bce320bde..0e9cb1c3a5f749e0b0efd1d96afa93f9882fec2c 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 category selection.
+ graph->nodes.push_back(
+ TaskGraph::Node(task, 0 /* category */, priority, dependencies));
}
void InsertNodesForRasterTask(TaskGraph* graph,
« no previous file with comments | « cc/test/task_graph_runner_test_template.cc ('k') | content/renderer/raster_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698