| Index: cc/layers/picture_layer_unittest.cc
|
| diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc
|
| index 917a36fefdd93f63a623781be570aa986d235cc6..9d2d13452d6073f4d5e6def3c4f95607c2d34092 100644
|
| --- a/cc/layers/picture_layer_unittest.cc
|
| +++ b/cc/layers/picture_layer_unittest.cc
|
| @@ -36,7 +36,8 @@ class MockContentLayerClient : public ContentLayerClient {
|
|
|
| TEST(PictureLayerTest, NoTilesIfEmptyBounds) {
|
| MockContentLayerClient client;
|
| - scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client);
|
| + scoped_refptr<PictureLayer> layer =
|
| + PictureLayer::Create(LayerSettings(), &client);
|
| layer->SetBounds(gfx::Size(10, 10));
|
|
|
| FakeLayerTreeHostClient host_client(FakeLayerTreeHostClient::DIRECT_3D);
|
| @@ -79,7 +80,8 @@ TEST(PictureLayerTest, NoTilesIfEmptyBounds) {
|
|
|
| TEST(PictureLayerTest, SuitableForGpuRasterization) {
|
| MockContentLayerClient client;
|
| - scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client);
|
| + scoped_refptr<PictureLayer> layer =
|
| + PictureLayer::Create(LayerSettings(), &client);
|
| FakeLayerTreeHostClient host_client(FakeLayerTreeHostClient::DIRECT_3D);
|
| scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(&host_client);
|
| host->SetRootLayer(layer);
|
| @@ -100,7 +102,8 @@ TEST(PictureLayerTest, UseTileGridSize) {
|
| settings.default_tile_grid_size = gfx::Size(123, 123);
|
|
|
| MockContentLayerClient client;
|
| - scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client);
|
| + scoped_refptr<PictureLayer> layer =
|
| + PictureLayer::Create(LayerSettings(), &client);
|
| FakeLayerTreeHostClient host_client(FakeLayerTreeHostClient::DIRECT_3D);
|
| scoped_ptr<FakeLayerTreeHost> host =
|
| FakeLayerTreeHost::Create(&host_client, settings);
|
| @@ -127,7 +130,8 @@ TEST(PictureLayerTest, NonMonotonicSourceFrameNumber) {
|
| new TestSharedBitmapManager());
|
|
|
| MockContentLayerClient client;
|
| - scoped_refptr<FakePictureLayer> layer = FakePictureLayer::Create(&client);
|
| + scoped_refptr<FakePictureLayer> layer =
|
| + FakePictureLayer::Create(LayerSettings(), &client);
|
|
|
| scoped_ptr<LayerTreeHost> host1 = LayerTreeHost::CreateSingleThreaded(
|
| &host_client1, &host_client1, shared_bitmap_manager.get(), nullptr,
|
|
|