| Index: cc/resources/picture_layer_tiling.h
|
| diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
|
| index 6f99c133188f69b73d265267bd8d16efed5a6bf2..f2726d8301f563d75d2e09f5de9f55ec60c49f83 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,
|
| + const gfx::Size& new_layer_bounds);
|
| void CreateMissingTilesInLiveTilesRect();
|
|
|
| void SetClient(PictureLayerTilingClient* client);
|
| @@ -150,6 +149,8 @@ class CC_EXPORT PictureLayerTiling {
|
| SetLiveTilesRect(tiling_data_.tiling_rect());
|
| }
|
|
|
| + const TilingData& TilingDataForTesting() const { return tiling_data_; }
|
| +
|
| std::vector<Tile*> AllTilesForTesting() const {
|
| std::vector<Tile*> all_tiles;
|
| for (TileMap::const_iterator it = tiles_.begin();
|
| @@ -230,8 +231,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 +281,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_;
|
|
|