Chromium Code Reviews| Index: cc/resources/picture_layer_tiling.h |
| diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h |
| index 108b922d3dcabf6aec41f9d35fe8563883cd250a..1a74e54ddae2bc483d6cc513972e22758019e0d2 100644 |
| --- a/cc/resources/picture_layer_tiling.h |
| +++ b/cc/resources/picture_layer_tiling.h |
| @@ -127,9 +127,8 @@ class CC_EXPORT PictureLayerTiling { |
| const gfx::Size& layer_bounds, |
| PictureLayerTilingClient* client); |
| gfx::Size layer_bounds() const { return layer_bounds_; } |
| - void SetLayerBounds(const gfx::Size& layer_bounds); |
| - void Invalidate(const Region& layer_region); |
| - void RemoveTilesInRegion(const Region& layer_region); |
| + void UpdateTilesToCurrentPile(const Region& layer_invalidation, |
|
enne (OOO)
2014/07/11 00:12:03
Ooh, this is a much better function than the previ
|
| + const gfx::Size& new_layer_bounds); |
| void CreateMissingTilesInLiveTilesRect(); |
| void SetClient(PictureLayerTilingClient* client); |
| @@ -230,8 +229,6 @@ class CC_EXPORT PictureLayerTiling { |
| // while DidBecomeActive promotes pending priority on a similar set of tiles. |
| void DidBecomeRecycled(); |
| - void UpdateTilesToCurrentPile(); |
| - |
| bool NeedsUpdateForFrameAtTime(double frame_time_in_seconds) { |
| return frame_time_in_seconds != last_impl_frame_time_in_seconds_; |
| } |
| @@ -282,7 +279,7 @@ class CC_EXPORT PictureLayerTiling { |
| const; |
| void UpdateEvictionCacheIfNeeded(TreePriority tree_priority); |
| - void DoInvalidate(const Region& layer_region, bool recreate_tiles); |
| + void Invalidate(const Region& layer_region); |
| // Given properties. |
| float contents_scale_; |