| 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 d18e97a553baaf9bf7e99432f33a2e7d80615918..9564a7baf2c6541bc20c92deb0c72380840765da 100644
|
| --- a/cc/layers/picture_layer_impl_unittest.cc
|
| +++ b/cc/layers/picture_layer_impl_unittest.cc
|
| @@ -150,6 +150,7 @@ class PictureLayerImplTest : public testing::Test {
|
| pending_layer = FakePictureLayerImpl::CreateWithRasterSource(
|
| pending_tree, id_, raster_source);
|
| pending_layer->SetDrawsContent(true);
|
| + pending_layer->SetHasRenderSurface(true);
|
| }
|
| // The bounds() just mirror the pile size.
|
| pending_layer->SetBounds(pending_layer->raster_source()->GetSize());
|
| @@ -3741,6 +3742,7 @@ TEST_F(PictureLayerImplTest, UpdateTilesForMasksWithNoVisibleContent) {
|
|
|
| FakePictureLayerImpl* pending_mask_content = mask.get();
|
| layer_with_mask->SetMaskLayer(mask.Pass());
|
| + layer_with_mask->SetHasRenderSurface(true);
|
|
|
| scoped_ptr<FakePictureLayerImpl> child_of_layer_with_mask =
|
| FakePictureLayerImpl::Create(host_impl_.pending_tree(), 4);
|
| @@ -3752,6 +3754,7 @@ TEST_F(PictureLayerImplTest, UpdateTilesForMasksWithNoVisibleContent) {
|
| layer_with_mask->AddChild(child_of_layer_with_mask.Pass());
|
|
|
| root->AddChild(layer_with_mask.Pass());
|
| + root->SetHasRenderSurface(true);
|
|
|
| host_impl_.pending_tree()->SetRootLayer(root.Pass());
|
|
|
|
|