Chromium Code Reviews| Index: cc/layers/picture_layer_impl.cc |
| diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc |
| index 405d68590da67bd73005aa601c48c66c0ad97627..f3012a1591a726e69edce32ebfe72cf94c3854f2 100644 |
| --- a/cc/layers/picture_layer_impl.cc |
| +++ b/cc/layers/picture_layer_impl.cc |
| @@ -652,11 +652,6 @@ Region PictureLayerImpl::GetInvalidationRegion() { |
| ScopedTilePtr PictureLayerImpl::CreateTile(const Tile::CreateInfo& info) { |
| int flags = 0; |
| - // We don't handle solid color masks, so we shouldn't bother analyzing those. |
| - // Otherwise, always analyze to maximize memory savings. |
| - if (!is_mask_) |
| - flags = Tile::USE_PICTURE_ANALYSIS; |
|
vmpstr
2015/12/29 21:24:23
We should keep respecting this flag, since it woul
sohanjg
2015/12/30 12:45:47
Acknowledged.
|
| - |
| if (contents_opaque()) |
| flags |= Tile::IS_OPAQUE; |