Index: cc/test/layer_tree_test.h |
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h |
index c2b18b15815f0947cc4cdb0c5059c8a35792b188..35a35464424263fc8ba55f915d49a31b7066cef2 100644 |
--- a/cc/test/layer_tree_test.h |
+++ b/cc/test/layer_tree_test.h |
@@ -21,6 +21,7 @@ class LayerTreeHost; |
class LayerTreeHostClient; |
class LayerTreeHostImpl; |
class TestContextProvider; |
+class TestGpuMemoryBufferManager; |
class TestWebGraphicsContext3D; |
// Used by test stubs to notify the test when something interesting happens. |
@@ -195,10 +196,13 @@ class LayerTreeTest : public testing::Test, public TestHooks { |
Proxy* proxy() const { |
return layer_tree_host_ ? layer_tree_host_->proxy() : NULL; |
} |
+ TaskGraphRunner* task_graph_runner() const { |
+ return task_graph_runner_.get(); |
+ } |
bool TestEnded() const { return ended_; } |
- LayerTreeHost* layer_tree_host() { return layer_tree_host_.get(); } |
+ LayerTreeHost* layer_tree_host(); |
bool delegating_renderer() const { return delegating_renderer_; } |
FakeOutputSurface* output_surface() { return output_surface_; } |
int LastCommittedSourceFrameNumber(LayerTreeHostImpl* impl) const; |
@@ -234,6 +238,9 @@ class LayerTreeTest : public testing::Test, public TestHooks { |
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; |
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_; |
base::CancelableClosure timeout_; |
scoped_refptr<TestContextProvider> compositor_contexts_; |
base::WeakPtr<LayerTreeTest> main_thread_weak_ptr_; |