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

Unified Diff: cc/test/layer_tree_test.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/raster/tile_task_worker_pool_perftest.cc ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index ba4e7ae03164592aca976654dcee6825a2f1003c..2c2233263c9a6a038f9699ef7de709c293508b99 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -24,6 +24,7 @@ class LayerTreeHostClient;
class LayerTreeHostImpl;
class TestContextProvider;
class TestGpuMemoryBufferManager;
+class TestTaskGraphRunner;
class TestWebGraphicsContext3D;
// Creates the virtual viewport layer hierarchy under the given root_layer.
@@ -270,10 +271,7 @@ class LayerTreeTest : public testing::Test, public TestHooks {
return layer_tree_host_ ? layer_tree_host_->task_runner_provider()
: nullptr;
}
- TaskGraphRunner* task_graph_runner() const {
- return task_graph_runner_.get();
- }
-
+ TaskGraphRunner* task_graph_runner() const;
bool TestEnded() const { return ended_; }
LayerTreeHost* layer_tree_host();
@@ -320,7 +318,7 @@ class LayerTreeTest : public testing::Test, public TestHooks {
scoped_ptr<base::Thread> impl_thread_;
scoped_ptr<SharedBitmapManager> shared_bitmap_manager_;
scoped_ptr<TestGpuMemoryBufferManager> gpu_memory_buffer_manager_;
- scoped_ptr<TaskGraphRunner> task_graph_runner_;
+ scoped_ptr<TestTaskGraphRunner> task_graph_runner_;
base::CancelableClosure timeout_;
scoped_refptr<TestContextProvider> compositor_contexts_;
base::WeakPtr<LayerTreeTest> main_thread_weak_ptr_;
« no previous file with comments | « cc/raster/tile_task_worker_pool_perftest.cc ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698