| Index: cc/layers/render_surface_unittest.cc
|
| diff --git a/cc/layers/render_surface_unittest.cc b/cc/layers/render_surface_unittest.cc
|
| index 929407c4fe594f050f6d6a181ad7a9c0d0aff89b..96f8532f96845d85d41979f43e6661c7c88945b4 100644
|
| --- a/cc/layers/render_surface_unittest.cc
|
| +++ b/cc/layers/render_surface_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #include "cc/test/geometry_test_utils.h"
|
| #include "cc/test/mock_occlusion_tracker.h"
|
| #include "cc/test/test_shared_bitmap_manager.h"
|
| +#include "cc/test/test_task_graph_runner.h"
|
| #include "cc/trees/single_thread_proxy.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -38,7 +39,9 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) {
|
|
|
| FakeImplProxy proxy;
|
| TestSharedBitmapManager shared_bitmap_manager;
|
| - FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, nullptr);
|
| + TestTaskGraphRunner task_graph_runner;
|
| + FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
|
| + &task_graph_runner);
|
| scoped_ptr<LayerImpl> owning_layer =
|
| LayerImpl::Create(host_impl.active_tree(), 1);
|
| owning_layer->SetHasRenderSurface(true);
|
| @@ -83,7 +86,9 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) {
|
| TEST(RenderSurfaceTest, SanityCheckSurfaceCreatesCorrectSharedQuadState) {
|
| FakeImplProxy proxy;
|
| TestSharedBitmapManager shared_bitmap_manager;
|
| - FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, nullptr);
|
| + TestTaskGraphRunner task_graph_runner;
|
| + FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
|
| + &task_graph_runner);
|
| scoped_ptr<LayerImpl> root_layer =
|
| LayerImpl::Create(host_impl.active_tree(), 1);
|
|
|
| @@ -147,7 +152,9 @@ class TestRenderPassSink : public RenderPassSink {
|
| TEST(RenderSurfaceTest, SanityCheckSurfaceCreatesCorrectRenderPass) {
|
| FakeImplProxy proxy;
|
| TestSharedBitmapManager shared_bitmap_manager;
|
| - FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager, nullptr);
|
| + TestTaskGraphRunner task_graph_runner;
|
| + FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager,
|
| + &task_graph_runner);
|
| scoped_ptr<LayerImpl> root_layer =
|
| LayerImpl::Create(host_impl.active_tree(), 1);
|
|
|
|
|