Index: cc/resources/picture_layer_tiling_unittest.cc |
diff --git a/cc/resources/picture_layer_tiling_unittest.cc b/cc/resources/picture_layer_tiling_unittest.cc |
index 96862ec3118b828cf909f603e4d22e4822bc8b7d..86f60ac877309014e4acd2c4cbf4ac7231ec5ee7 100644 |
--- a/cc/resources/picture_layer_tiling_unittest.cc |
+++ b/cc/resources/picture_layer_tiling_unittest.cc |
@@ -172,7 +172,7 @@ class PictureLayerTilingIteratorTest : public testing::Test { |
const gfx::Rect& dest_rect) { |
float dest_to_contents_scale = tiling_->contents_scale() / rect_scale; |
gfx::Rect clamped_rect = gfx::ScaleToEnclosingRect( |
- tiling_->TilingRect(), 1.f / dest_to_contents_scale); |
+ gfx::Rect(tiling_->tiling_size()), 1.f / dest_to_contents_scale); |
clamped_rect.Intersect(dest_rect); |
VerifyTilesExactlyCoverRect(rect_scale, dest_rect, clamped_rect); |
} |