Index: cc/test/test_task_graph_runner.cc |
diff --git a/cc/test/test_task_graph_runner.cc b/cc/test/test_task_graph_runner.cc |
index abc0d28902b115a2801e56e6e5fa483b5919f264..e507ac73c73332fa0796497d45b57f45645d5ed3 100644 |
--- a/cc/test/test_task_graph_runner.cc |
+++ b/cc/test/test_task_graph_runner.cc |
@@ -6,18 +6,12 @@ |
namespace cc { |
-TestTaskGraphRunner::TestTaskGraphRunner() |
- : worker_thread_(this, "CompositorTileWorker1") { |
- worker_thread_.Start(); |
+TestTaskGraphRunner::TestTaskGraphRunner() { |
+ Start("TestTaskGraphRunner", base::SimpleThread::Options()); |
} |
TestTaskGraphRunner::~TestTaskGraphRunner() { |
- TaskGraphRunner::Shutdown(); |
- worker_thread_.Join(); |
-} |
- |
-void TestTaskGraphRunner::Run() { |
- TaskGraphRunner::Run(); |
+ Shutdown(); |
} |
} // namespace cc |