Chromium Code Reviews| Index: cc/layers/picture_layer_impl.h |
| diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h |
| index 57947cc0775523a30bb857e99c199c8d0615a4bf..7590903d171668b60b9ac6cba314304799899e74 100644 |
| --- a/cc/layers/picture_layer_impl.h |
| +++ b/cc/layers/picture_layer_impl.h |
| @@ -119,7 +119,10 @@ class CC_EXPORT PictureLayerImpl |
| float MinimumContentsScale() const; |
| float MaximumContentsScale() const; |
| void ResetRasterScale(); |
| - gfx::Rect GetViewportForTilePriorityInContentSpace() const; |
| + gfx::Rect viewport_rect_for_tile_priority_in_content_space() const { |
|
danakj
2015/01/21 22:32:18
I meant you can have this accessor on the FakePict
hush (inactive)
2015/01/21 22:40:46
Oh. I see. Done.
|
| + return viewport_rect_for_tile_priority_in_content_space_; |
| + } |
| + void CacheViewportForTilePriorityInContentSpace(); |
| PictureLayerImpl* GetRecycledTwinLayer() const; |
| void SanityCheckTilingState() const; |
| @@ -173,6 +176,7 @@ class CC_EXPORT PictureLayerImpl |
| // from regular draws. Save a copy of the required draw properties of the last |
| // frame that has a valid viewport for prioritizing tiles. |
| gfx::Rect visible_rect_for_tile_priority_; |
| + gfx::Rect viewport_rect_for_tile_priority_in_content_space_; |
| DISALLOW_COPY_AND_ASSIGN(PictureLayerImpl); |
| }; |