Index: cc/resources/layer_tiling_data.cc |
diff --git a/cc/resources/layer_tiling_data.cc b/cc/resources/layer_tiling_data.cc |
index 81cb21a8c35bde4951db49006a0285208bc056fa..eda05e3e3cd49ee8d86accd580776c2a447e7365 100644 |
--- a/cc/resources/layer_tiling_data.cc |
+++ b/cc/resources/layer_tiling_data.cc |
@@ -120,7 +120,7 @@ void LayerTilingData::SetBounds(gfx::Size size) { |
// dropped. |
int left, top, right, bottom; |
ContentRectToTileIndices( |
- gfx::Rect(gfx::Point(), size), &left, &top, &right, &bottom); |
+ gfx::Rect(size), &left, &top, &right, &bottom); |
std::vector<TileMapKey> invalid_tile_keys; |
for (TileMap::const_iterator it = tiles_.begin(); it != tiles_.end(); ++it) { |
if (it->first.first > right || it->first.second > bottom) |