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

Unified Diff: cc/test/task_graph_runner_test_template.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.h ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/task_graph_runner_test_template.cc
diff --git a/cc/test/task_graph_runner_test_template.cc b/cc/test/task_graph_runner_test_template.cc
index ba9d4ccf9a51219e0f4f976cec2555034b985614..6797de2e665d0acca0a23fc6a8559bc96aafd367 100644
--- a/cc/test/task_graph_runner_test_template.cc
+++ b/cc/test/task_graph_runner_test_template.cc
@@ -65,13 +65,13 @@ void TaskGraphRunnerTestBase::ScheduleTasks(
scoped_refptr<FakeTaskImpl> new_task(
new FakeTaskImpl(this, it->namespace_index, it->id));
new_graph.nodes.push_back(
- TaskGraph::Node(new_task.get(), it->priority, 0u));
+ TaskGraph::Node(new_task.get(), it->category, it->priority, 0u));
for (unsigned i = 0; i < it->dependent_count; ++i) {
scoped_refptr<FakeDependentTaskImpl> new_dependent_task(
new FakeDependentTaskImpl(this, it->namespace_index,
it->dependent_id));
- new_graph.nodes.push_back(
- TaskGraph::Node(new_dependent_task.get(), it->priority, 1u));
+ new_graph.nodes.push_back(TaskGraph::Node(
+ new_dependent_task.get(), it->category, it->priority, 1u));
new_graph.edges.push_back(
TaskGraph::Edge(new_task.get(), new_dependent_task.get()));
« no previous file with comments | « cc/test/task_graph_runner_test_template.h ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698