| Index: cc/resources/layer_tiling_data.cc
|
| diff --git a/cc/resources/layer_tiling_data.cc b/cc/resources/layer_tiling_data.cc
|
| index ccbb6d0148194cc6ea8d8ee2f2b44cadabcf9e99..a158dfaaa1c7655fcc7617cfe6738f4ae1bf715d 100644
|
| --- a/cc/resources/layer_tiling_data.cc
|
| +++ b/cc/resources/layer_tiling_data.cc
|
| @@ -17,7 +17,7 @@ scoped_ptr<LayerTilingData> LayerTilingData::Create(const gfx::Size& tile_size,
|
|
|
| LayerTilingData::LayerTilingData(const gfx::Size& tile_size,
|
| BorderTexelOption border)
|
| - : tiling_data_(tile_size, gfx::Size(), border == HAS_BORDER_TEXELS) {
|
| + : tiling_data_(tile_size, gfx::Rect(), border == HAS_BORDER_TEXELS) {
|
| SetTileSize(tile_size);
|
| }
|
|
|
| @@ -113,7 +113,7 @@ Region LayerTilingData::OpaqueRegionInContentRect(
|
| }
|
|
|
| void LayerTilingData::SetBounds(const gfx::Size& size) {
|
| - tiling_data_.SetTotalSize(size);
|
| + tiling_data_.SetTilingRect(gfx::Rect(size));
|
| if (size.IsEmpty()) {
|
| tiles_.clear();
|
| return;
|
|
|