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 009cd980fc696138e407a1252502f51d48d9e1d6..4f03736e85975fcbf7a7d114c4434f176d785368 100644 |
--- a/cc/resources/picture_layer_tiling_unittest.cc |
+++ b/cc/resources/picture_layer_tiling_unittest.cc |
@@ -156,7 +156,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_->ContentRect(), 1.f / dest_to_contents_scale); |
+ tiling_->TilingRect(), 1.f / dest_to_contents_scale); |
clamped_rect.Intersect(dest_rect); |
VerifyTilesExactlyCoverRect(rect_scale, dest_rect, clamped_rect); |
} |