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_); |
} |