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

Unified Diff: cc/raster/task_graph_runner_perftest.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/raster/task_graph_runner.h ('k') | cc/raster/task_graph_work_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/task_graph_runner_perftest.cc
diff --git a/cc/raster/task_graph_runner_perftest.cc b/cc/raster/task_graph_runner_perftest.cc
index f571d33d4e63450fff4a1dad51facf036f129c4b..b97b93ca2a244acf8a9a045dd726f392e9c8d3fa 100644
--- a/cc/raster/task_graph_runner_perftest.cc
+++ b/cc/raster/task_graph_runner_perftest.cc
@@ -230,13 +230,13 @@ class TaskGraphRunnerPerfTest : public testing::Test {
for (PerfTaskImpl::Vector::const_iterator it = leaf_tasks.begin();
it != leaf_tasks.end();
++it) {
- graph->nodes.push_back(TaskGraph::Node(it->get(), 0u, 0u));
+ graph->nodes.push_back(TaskGraph::Node(it->get(), 0u, 0u, 0u));
}
for (PerfTaskImpl::Vector::const_iterator it = tasks.begin();
- it != tasks.end();
- ++it) {
- graph->nodes.push_back(TaskGraph::Node(it->get(), 0u, leaf_tasks.size()));
+ it != tasks.end(); ++it) {
+ graph->nodes.push_back(TaskGraph::Node(
+ it->get(), 0u, 0u, static_cast<uint32_t>(leaf_tasks.size())));
for (PerfTaskImpl::Vector::const_iterator leaf_it = leaf_tasks.begin();
leaf_it != leaf_tasks.end();
@@ -253,9 +253,9 @@ class TaskGraphRunnerPerfTest : public testing::Test {
}
for (PerfTaskImpl::Vector::const_iterator it = top_level_tasks.begin();
- it != top_level_tasks.end();
- ++it) {
- graph->nodes.push_back(TaskGraph::Node(it->get(), 0u, tasks.size()));
+ it != top_level_tasks.end(); ++it) {
+ graph->nodes.push_back(TaskGraph::Node(
+ it->get(), 0u, 0u, static_cast<uint32_t>(tasks.size())));
}
}
« no previous file with comments | « cc/raster/task_graph_runner.h ('k') | cc/raster/task_graph_work_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698