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

Unified Diff: cc/test/task_graph_runner_test_template.cc

Issue 1866043006: cc: Remove ScheduleOnOriginThread() and CompleteOnOriginThread(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 7 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
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 6797de2e665d0acca0a23fc6a8559bc96aafd367..0ba8149a01d4d7fa1de50846a2b08a53d87542a2 100644
--- a/cc/test/task_graph_runner_test_template.cc
+++ b/cc/test/task_graph_runner_test_template.cc
@@ -29,6 +29,7 @@ void TaskGraphRunnerTestBase::RunAllTasks(int namespace_index) {
it != completed_tasks.end(); ++it) {
FakeTaskImpl* task = static_cast<FakeTaskImpl*>(it->get());
task->CompleteOnOriginThread();
+ task->state().DidComplete();
}
}

Powered by Google App Engine
This is Rietveld 408576698