Index: cc/playback/raster_source_helper.cc |
diff --git a/cc/playback/raster_source_helper.cc b/cc/playback/raster_source_helper.cc |
index bd5edda07c3933485fabc2c5a2c4494dbe4ceada..3655ba3cb9e749bddc443e3ad0259cd5fdbde3c5 100644 |
--- a/cc/playback/raster_source_helper.cc |
+++ b/cc/playback/raster_source_helper.cc |
@@ -60,7 +60,7 @@ void RasterSourceHelper::PrepareForPlaybackToCanvas( |
// texel (since the recording won't cover it) and outside the last texel |
// (due to linear filtering when using this texture). |
gfx::Rect content_rect = |
- gfx::ToEnclosingRect(gfx::ScaleRect(source_rect, contents_scale)); |
+ gfx::ScaleToEnclosingRect(source_rect, contents_scale); |
// The final texel of content may only be partially covered by a |
// rasterization; this rect represents the content rect that is fully |