| Index: cc/resources/picture_layer_tiling.h
|
| diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
|
| index f4c5e7c405af9d60d0fa7b6628c5ff15a382a933..0c194be61c68b50abcd1179c86ec9397b9c3e9dc 100644
|
| --- a/cc/resources/picture_layer_tiling.h
|
| +++ b/cc/resources/picture_layer_tiling.h
|
| @@ -31,7 +31,7 @@
|
| const gfx::Rect& content_rect) = 0;
|
| virtual void UpdatePile(Tile* tile) = 0;
|
| virtual gfx::Size CalculateTileSize(
|
| - const gfx::Size& content_bounds) const = 0;
|
| + gfx::Size content_bounds) const = 0;
|
| virtual const Region* GetInvalidation() = 0;
|
| virtual const PictureLayerTiling* GetTwinTiling(
|
| const PictureLayerTiling* tiling) const = 0;
|
| @@ -47,10 +47,10 @@
|
| // Create a tiling with no tiles. CreateTiles must be called to add some.
|
| static scoped_ptr<PictureLayerTiling> Create(
|
| float contents_scale,
|
| - const gfx::Size& layer_bounds,
|
| + gfx::Size layer_bounds,
|
| PictureLayerTilingClient* client);
|
| gfx::Size layer_bounds() const { return layer_bounds_; }
|
| - void SetLayerBounds(const gfx::Size& layer_bounds);
|
| + void SetLayerBounds(gfx::Size layer_bounds);
|
| void Invalidate(const Region& layer_region);
|
| void CreateMissingTilesInLiveTilesRect();
|
|
|
| @@ -135,11 +135,11 @@
|
|
|
| void UpdateTilePriorities(
|
| WhichTree tree,
|
| - const gfx::Size& device_viewport,
|
| + gfx::Size device_viewport,
|
| const gfx::Rect& viewport_in_layer_space,
|
| const gfx::Rect& visible_layer_rect,
|
| - const gfx::Size& last_layer_bounds,
|
| - const gfx::Size& current_layer_bounds,
|
| + gfx::Size last_layer_bounds,
|
| + gfx::Size current_layer_bounds,
|
| float last_layer_contents_scale,
|
| float current_layer_contents_scale,
|
| const gfx::Transform& last_screen_transform,
|
| @@ -193,7 +193,7 @@
|
| typedef base::hash_map<TileMapKey, scoped_refptr<Tile> > TileMap;
|
|
|
| PictureLayerTiling(float contents_scale,
|
| - const gfx::Size& layer_bounds,
|
| + gfx::Size layer_bounds,
|
| PictureLayerTilingClient* client);
|
| void SetLiveTilesRect(const gfx::Rect& live_tiles_rect);
|
| void CreateTile(int i, int j, const PictureLayerTiling* twin_tiling);
|
|
|