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 713e8fba06826061edfc91d3b88073b3e14a8bd5..8e4ebc92f409151939a01981a26d26b2c4270f5d 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; |