| Index: cc/resources/layer_tiling_data.h
|
| diff --git a/cc/resources/layer_tiling_data.h b/cc/resources/layer_tiling_data.h
|
| index 94644d051b15f732e28d520efe4f5785404b6b22..500c753f1e4d3cc160781f6a1173ccfd6547ebaf 100644
|
| --- a/cc/resources/layer_tiling_data.h
|
| +++ b/cc/resources/layer_tiling_data.h
|
| @@ -27,7 +27,7 @@
|
|
|
| ~LayerTilingData();
|
|
|
| - static scoped_ptr<LayerTilingData> Create(const gfx::Size& tile_size,
|
| + static scoped_ptr<LayerTilingData> Create(gfx::Size tile_size,
|
| BorderTexelOption option);
|
|
|
| bool has_empty_bounds() const { return tiling_data_.has_empty_bounds(); }
|
| @@ -41,7 +41,7 @@
|
| }
|
|
|
| // Change the tile size. This may invalidate all the existing tiles.
|
| - void SetTileSize(const gfx::Size& size);
|
| + void SetTileSize(gfx::Size size);
|
| gfx::Size tile_size() const;
|
| // Change the border texel setting. This may invalidate all existing tiles.
|
| void SetBorderTexelOption(BorderTexelOption option);
|
| @@ -81,7 +81,7 @@
|
| Tile* TileAt(int i, int j) const;
|
| const TileMap& tiles() const { return tiles_; }
|
|
|
| - void SetBounds(const gfx::Size& size);
|
| + void SetBounds(gfx::Size size);
|
| gfx::Size bounds() const { return tiling_data_.total_size(); }
|
|
|
| void ContentRectToTileIndices(const gfx::Rect& rect,
|
| @@ -96,7 +96,7 @@
|
| void reset() { tiles_.clear(); }
|
|
|
| protected:
|
| - LayerTilingData(const gfx::Size& tile_size, BorderTexelOption option);
|
| + LayerTilingData(gfx::Size tile_size, BorderTexelOption option);
|
|
|
| TileMap tiles_;
|
| TilingData tiling_data_;
|
|
|