Index: cc/layers/solid_color_layer_impl_unittest.cc |
diff --git a/cc/layers/solid_color_layer_impl_unittest.cc b/cc/layers/solid_color_layer_impl_unittest.cc |
index 6045d6bb0efff46a7a4fbf1b2b405eda83ce30e0..e36eb73539c0eeaa5b103ce861c7a4d6a1369c16 100644 |
--- a/cc/layers/solid_color_layer_impl_unittest.cc |
+++ b/cc/layers/solid_color_layer_impl_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "cc/test/fake_layer_tree_host.h" |
#include "cc/test/layer_test_common.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" |
@@ -26,7 +27,8 @@ TEST(SolidColorLayerImplTest, VerifyTilingCompleteAndNoOverlap) { |
gfx::Rect visible_content_rect = gfx::Rect(layer_size); |
FakeImplProxy proxy; |
- FakeLayerTreeHostImpl host_impl(&proxy); |
+ TestSharedBitmapManager shared_bitmap_manager; |
+ FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager); |
scoped_ptr<SolidColorLayerImpl> layer = |
SolidColorLayerImpl::Create(host_impl.active_tree(), 1); |
layer->draw_properties().visible_content_rect = visible_content_rect; |
@@ -50,7 +52,8 @@ TEST(SolidColorLayerImplTest, VerifyCorrectBackgroundColorInQuad) { |
gfx::Rect visible_content_rect = gfx::Rect(layer_size); |
FakeImplProxy proxy; |
- FakeLayerTreeHostImpl host_impl(&proxy); |
+ TestSharedBitmapManager shared_bitmap_manager; |
+ FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager); |
scoped_ptr<SolidColorLayerImpl> layer = |
SolidColorLayerImpl::Create(host_impl.active_tree(), 1); |
layer->draw_properties().visible_content_rect = visible_content_rect; |
@@ -76,7 +79,8 @@ TEST(SolidColorLayerImplTest, VerifyCorrectOpacityInQuad) { |
gfx::Rect visible_content_rect = gfx::Rect(layer_size); |
FakeImplProxy proxy; |
- FakeLayerTreeHostImpl host_impl(&proxy); |
+ TestSharedBitmapManager shared_bitmap_manager; |
+ FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager); |
scoped_ptr<SolidColorLayerImpl> layer = |
SolidColorLayerImpl::Create(host_impl.active_tree(), 1); |
layer->draw_properties().visible_content_rect = visible_content_rect; |