| Index: cc/layers/ui_resource_layer_impl_unittest.cc
|
| diff --git a/cc/layers/ui_resource_layer_impl_unittest.cc b/cc/layers/ui_resource_layer_impl_unittest.cc
|
| index 596cb3bc8a97c4ac3a0b21d6bf9d9e6f18795e7a..04842eed649a0250cee764170ef8c7a97d61d1fc 100644
|
| --- a/cc/layers/ui_resource_layer_impl_unittest.cc
|
| +++ b/cc/layers/ui_resource_layer_impl_unittest.cc
|
| @@ -11,6 +11,7 @@
|
| #include "cc/test/fake_ui_resource_layer_tree_host_impl.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"
|
| @@ -63,7 +64,8 @@ void QuadSizeTest(scoped_ptr<UIResourceLayerImpl> layer,
|
|
|
| TEST(UIResourceLayerImplTest, VerifyDrawQuads) {
|
| FakeImplProxy proxy;
|
| - FakeUIResourceLayerTreeHostImpl host_impl(&proxy);
|
| + TestSharedBitmapManager shared_bitmap_manager;
|
| + FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager);
|
| // Make sure we're appending quads when there are valid values.
|
| gfx::Size bitmap_size(100, 100);
|
| gfx::Size layer_size(100, 100);;
|
| @@ -103,7 +105,8 @@ void OpaqueBoundsTest(scoped_ptr<UIResourceLayerImpl> layer,
|
|
|
| TEST(UIResourceLayerImplTest, VerifySetOpaqueOnSkBitmap) {
|
| FakeImplProxy proxy;
|
| - FakeUIResourceLayerTreeHostImpl host_impl(&proxy);
|
| + TestSharedBitmapManager shared_bitmap_manager;
|
| + FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager);
|
|
|
| gfx::Size bitmap_size(100, 100);
|
| gfx::Size layer_size(100, 100);;
|
| @@ -129,7 +132,8 @@ TEST(UIResourceLayerImplTest, VerifySetOpaqueOnSkBitmap) {
|
|
|
| TEST(UIResourceLayerImplTest, VerifySetOpaqueOnLayer) {
|
| FakeImplProxy proxy;
|
| - FakeUIResourceLayerTreeHostImpl host_impl(&proxy);
|
| + TestSharedBitmapManager shared_bitmap_manager;
|
| + FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager);
|
|
|
| gfx::Size bitmap_size(100, 100);
|
| gfx::Size layer_size(100, 100);
|
|
|