| Index: cc/layers/picture_layer_impl_unittest.cc
|
| diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc
|
| index cb8bc3ac116aa253591c5e848dc7bdbf983f9b3b..6faaabd3fc410a3b6cc72791dc41149b7bdba816 100644
|
| --- a/cc/layers/picture_layer_impl_unittest.cc
|
| +++ b/cc/layers/picture_layer_impl_unittest.cc
|
| @@ -413,6 +413,7 @@ TEST_F(PictureLayerImplTest, TileGridAlignment) {
|
| // Create an active recording source, but make sure it's not solid.
|
| scoped_ptr<FakeDisplayListRecordingSource> active_recording_source =
|
| FakeDisplayListRecordingSource::CreateFilledRecordingSource(layer_size);
|
| + active_recording_source->SetLayerBounds(layer_size);
|
| active_recording_source->add_draw_rect(gfx::Rect(layer_size));
|
| active_recording_source->add_draw_rect(
|
| gfx::Rect(0, 0, layer_size.width() - 1, layer_size.height() - 1));
|
| @@ -4493,6 +4494,7 @@ void PictureLayerImplTest::TestQuadsForSolidColor(bool test_for_solid) {
|
| gfx::Rect layer_rect(layer_bounds);
|
|
|
| FakeContentLayerClient client;
|
| + client.set_bounds(layer_bounds);
|
| scoped_refptr<PictureLayer> layer =
|
| PictureLayer::Create(layer_settings_, &client);
|
| FakeLayerTreeHostClient host_client(FakeLayerTreeHostClient::DIRECT_3D);
|
| @@ -4557,6 +4559,7 @@ TEST_F(PictureLayerImplTest, NonSolidToSolidNoTilings) {
|
| gfx::Rect layer_rect(layer_bounds);
|
|
|
| FakeContentLayerClient client;
|
| + client.set_bounds(layer_bounds);
|
| scoped_refptr<PictureLayer> layer =
|
| PictureLayer::Create(layer_settings_, &client);
|
| FakeLayerTreeHostClient host_client(FakeLayerTreeHostClient::DIRECT_3D);
|
|
|