| Index: cc/resources/picture_layer_tiling_set.h
|
| diff --git a/cc/resources/picture_layer_tiling_set.h b/cc/resources/picture_layer_tiling_set.h
|
| index f88d1ef1f95e73f535f05220a2de5a9915359bee..c32d45aa74880232387b2a0a5c05b6a9e6815c8c 100644
|
| --- a/cc/resources/picture_layer_tiling_set.h
|
| +++ b/cc/resources/picture_layer_tiling_set.h
|
| @@ -14,7 +14,8 @@ namespace cc {
|
|
|
| class CC_EXPORT PictureLayerTilingSet {
|
| public:
|
| - explicit PictureLayerTilingSet(PictureLayerTilingClient* client);
|
| + PictureLayerTilingSet(PictureLayerTilingClient* client,
|
| + gfx::Size layer_bounds);
|
| ~PictureLayerTilingSet();
|
|
|
| void SetClient(PictureLayerTilingClient* client);
|
| @@ -22,14 +23,11 @@ class CC_EXPORT PictureLayerTilingSet {
|
| // Shallow copies all data (except client and bounds from other).
|
| void CloneAll(
|
| const PictureLayerTilingSet& other,
|
| - const Region& invalidation,
|
| float minimum_contents_scale);
|
| - void Clone(const PictureLayerTiling* tiling, const Region& invalidation);
|
| + void Clone(const PictureLayerTiling* tiling);
|
|
|
| - void SetLayerBounds(gfx::Size layer_bounds);
|
| - gfx::Size LayerBounds() const;
|
| + gfx::Size layer_bounds() const { return layer_bounds_; }
|
|
|
| - void Invalidate(const Region& layer_invalidation);
|
| void InvalidateTilesWithText();
|
|
|
| PictureLayerTiling* AddTiling(float contents_scale);
|
| @@ -48,9 +46,6 @@ class CC_EXPORT PictureLayerTilingSet {
|
| // Remove all tiles; keep all tilings.
|
| void RemoveAllTiles();
|
|
|
| - // For all tilings, create any tile that intersects |layer_rect|.
|
| - void CreateTilesFromLayerRect(gfx::Rect layer_rect);
|
| -
|
| void UpdateTilePriorities(
|
| WhichTree tree,
|
| gfx::Size device_viewport,
|
|
|