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 e9188ec678fbefb736b8a5db9d70934fc354392d..fa7b914c2a08ebf26726e1a30990b5dbf0a4ff58 100644 |
| --- a/cc/layers/picture_layer_impl.cc |
| +++ b/cc/layers/picture_layer_impl.cc |
| @@ -630,7 +630,8 @@ Region PictureLayerImpl::GetInvalidationRegion() { |
| scoped_refptr<Tile> PictureLayerImpl::CreateTile( |
| float contents_scale, |
| - const gfx::Rect& content_rect) { |
| + const gfx::Rect& content_rect, |
| + scoped_refptr<RasterSource>* raster_source) { |
|
enne (OOO)
2015/04/20 22:36:28
Pointer to a refptr <_<
Is this something that ne
vmpstr
2015/04/22 18:38:57
Done.
|
| int flags = 0; |
| // We don't handle solid color masks, so we shouldn't bother analyzing those. |
| @@ -639,8 +640,8 @@ scoped_refptr<Tile> PictureLayerImpl::CreateTile( |
| flags = Tile::USE_PICTURE_ANALYSIS; |
| return layer_tree_impl()->tile_manager()->CreateTile( |
| - raster_source_.get(), content_rect.size(), content_rect, contents_scale, |
| - id(), layer_tree_impl()->source_frame_number(), flags); |
| + raster_source, content_rect.size(), content_rect, contents_scale, id(), |
| + layer_tree_impl()->source_frame_number(), flags); |
| } |
| const Region* PictureLayerImpl::GetPendingInvalidation() { |