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

Unified Diff: blimp/common/compositor/blimp_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 | « blimp/common/compositor/blimp_task_graph_runner.h ('k') | cc/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/compositor/blimp_task_graph_runner.cc
diff --git a/blimp/common/compositor/blimp_task_graph_runner.cc b/blimp/common/compositor/blimp_task_graph_runner.cc
index 37531d3c687f31bf4cd426874fcd298fa38f7e97..d264e43a0eff5d052db8a43b2f3dfc9fb96f68b2 100644
--- a/blimp/common/compositor/blimp_task_graph_runner.cc
+++ b/blimp/common/compositor/blimp_task_graph_runner.cc
@@ -6,21 +6,13 @@
namespace blimp {
-BlimpTaskGraphRunner::BlimpTaskGraphRunner()
- : worker_thread_(
- this,
- "BlimpCompositorWorker",
- base::SimpleThread::Options(base::ThreadPriority::BACKGROUND)) {
- worker_thread_.Start();
+BlimpTaskGraphRunner::BlimpTaskGraphRunner() {
+ Start("BlimpCompositorWorker",
+ base::SimpleThread::Options(base::ThreadPriority::BACKGROUND));
}
BlimpTaskGraphRunner::~BlimpTaskGraphRunner() {
Shutdown();
- worker_thread_.Join();
-}
-
-void BlimpTaskGraphRunner::Run() {
- cc::TaskGraphRunner::Run();
}
} // namespace blimp
« no previous file with comments | « blimp/common/compositor/blimp_task_graph_runner.h ('k') | cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698