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 16b68c1e70830c8a65fd64b24e24429f932f94e8..976ed6b14a2693269570901de40df32061143f65 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); |
} |