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

Unified Diff: cc/test/test_task_graph_runner.cc

Issue 1449133002: TaskGraphRunner refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 5 years, 1 month 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/test_task_graph_runner.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/test/test_task_graph_runner.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698