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

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: fixes for linux/android 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..8a43622ad7a6a8ef71018648c3bcd9e1e8b09093 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("TestTaskGraphRunner1", base::SimpleThread::Options());
reveman 2015/11/23 19:47:06 nit: TestTaskGraphRunner, no need for the "1" suff
ericrk 2015/11/23 21:49:50 Done.
}
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