Index: cc/resources/bitmap_skpicture_content_layer_updater.cc |
diff --git a/cc/resources/bitmap_skpicture_content_layer_updater.cc b/cc/resources/bitmap_skpicture_content_layer_updater.cc |
index a776d235c1d26af03d25b73fcf5a9ec24336e1d1..06b65639a83fed0f6377f6bb836717ba9068e02f 100644 |
--- a/cc/resources/bitmap_skpicture_content_layer_updater.cc |
+++ b/cc/resources/bitmap_skpicture_content_layer_updater.cc |
@@ -72,8 +72,8 @@ void BitmapSkPictureContentLayerUpdater::PaintContentsRect( |
if (!canvas) |
return; |
// Translate the origin of content_rect to that of source_rect. |
- canvas->translate(content_rect().x() - source_rect.x(), |
- content_rect().y() - source_rect.y()); |
+ canvas->translate(paint_rect().x() - source_rect.x(), |
+ paint_rect().y() - source_rect.y()); |
base::TimeTicks start_time = |
rendering_stats_instrumentation_->StartRecording(); |
DrawPicture(canvas); |