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

Unified Diff: cc/test/task_graph_runner_test_template.cc

Issue 2021023002: cc: Rename CompleteOnOriginThread() -> OnTaskCompleted() in tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_notify_schedule_1
Patch Set: rebase 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
« no previous file with comments | « cc/test/task_graph_runner_test_template.h ('k') | no next file » | 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 6797de2e665d0acca0a23fc6a8559bc96aafd367..f201e9321c85cd191d19810a664db92ee82a7112 100644
--- a/cc/test/task_graph_runner_test_template.cc
+++ b/cc/test/task_graph_runner_test_template.cc
@@ -28,7 +28,7 @@ void TaskGraphRunnerTestBase::RunAllTasks(int namespace_index) {
for (Task::Vector::const_iterator it = completed_tasks.begin();
it != completed_tasks.end(); ++it) {
FakeTaskImpl* task = static_cast<FakeTaskImpl*>(it->get());
- task->CompleteOnOriginThread();
+ task->OnTaskCompleted();
}
}
@@ -92,7 +92,7 @@ void TaskGraphRunnerTestBase::FakeTaskImpl::RunOnWorkerThread() {
test_->RunTaskOnWorkerThread(namespace_index_, id_);
}
-void TaskGraphRunnerTestBase::FakeTaskImpl::CompleteOnOriginThread() {
+void TaskGraphRunnerTestBase::FakeTaskImpl::OnTaskCompleted() {
test_->OnTaskCompleted(namespace_index_, id_);
}
« no previous file with comments | « cc/test/task_graph_runner_test_template.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698