| Index: cc/layers/picture_layer_unittest.cc
|
| diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc
|
| index 37070127a779b5f391520b3d14e96984e3b2fa9d..edbc621bd6ade27b6d02618b4dee35cc8cd3bf3e 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);
|
|
|
| LayerTreeHost::InitParams params;
|
| params.client = &host_client1;
|
|
|