Index: cc/layers/render_surface_unittest.cc |
diff --git a/cc/layers/render_surface_unittest.cc b/cc/layers/render_surface_unittest.cc |
index 70f63f7304c8bbe1b8c03e800d069100ade7833e..7056b1d003b683e0fbd70506d9a4da6a28a0805f 100644 |
--- a/cc/layers/render_surface_unittest.cc |
+++ b/cc/layers/render_surface_unittest.cc |
@@ -12,6 +12,7 @@ |
#include "cc/test/fake_layer_tree_host_impl.h" |
#include "cc/test/geometry_test_utils.h" |
#include "cc/test/mock_quad_culler.h" |
+#include "cc/test/test_shared_bitmap_manager.h" |
#include "cc/trees/single_thread_proxy.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -36,7 +37,8 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) { |
// |
FakeImplProxy proxy; |
- FakeLayerTreeHostImpl host_impl(&proxy); |
+ TestSharedBitmapManager shared_bitmap_manager; |
+ FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager); |
scoped_ptr<LayerImpl> owning_layer = |
LayerImpl::Create(host_impl.active_tree(), 1); |
owning_layer->CreateRenderSurface(); |
@@ -80,7 +82,8 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) { |
TEST(RenderSurfaceTest, SanityCheckSurfaceCreatesCorrectSharedQuadState) { |
FakeImplProxy proxy; |
- FakeLayerTreeHostImpl host_impl(&proxy); |
+ TestSharedBitmapManager shared_bitmap_manager; |
+ FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager); |
scoped_ptr<LayerImpl> root_layer = |
LayerImpl::Create(host_impl.active_tree(), 1); |
@@ -143,7 +146,8 @@ class TestRenderPassSink : public RenderPassSink { |
TEST(RenderSurfaceTest, SanityCheckSurfaceCreatesCorrectRenderPass) { |
FakeImplProxy proxy; |
- FakeLayerTreeHostImpl host_impl(&proxy); |
+ TestSharedBitmapManager shared_bitmap_manager; |
+ FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager); |
scoped_ptr<LayerImpl> root_layer = |
LayerImpl::Create(host_impl.active_tree(), 1); |