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

Unified Diff: components/mus/gles2/raster_thread_helper.h

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/trees/layer_tree_host_impl.cc ('k') | components/mus/gles2/raster_thread_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/raster_thread_helper.h
diff --git a/components/mus/gles2/raster_thread_helper.h b/components/mus/gles2/raster_thread_helper.h
index cdeade4209fa564be213a1109b84a888e0ff12ee..35d76f83d60cde2859bb85396a8875182a7a02f1 100644
--- a/components/mus/gles2/raster_thread_helper.h
+++ b/components/mus/gles2/raster_thread_helper.h
@@ -9,6 +9,7 @@
namespace cc {
class TaskGraphRunner;
+class SingleThreadTaskGraphRunner;
}
namespace gles2 {
@@ -18,13 +19,10 @@ class RasterThreadHelper {
RasterThreadHelper();
~RasterThreadHelper();
- cc::TaskGraphRunner* task_graph_runner() { return task_graph_runner_.get(); }
+ cc::TaskGraphRunner* task_graph_runner();
private:
- class RasterThread;
-
- scoped_ptr<cc::TaskGraphRunner> task_graph_runner_;
- scoped_ptr<RasterThread> raster_thread_;
+ scoped_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_;
DISALLOW_COPY_AND_ASSIGN(RasterThreadHelper);
};
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | components/mus/gles2/raster_thread_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698