Index: cc/layers/contents_scaling_layer.cc |
diff --git a/cc/layers/contents_scaling_layer.cc b/cc/layers/contents_scaling_layer.cc |
index d602e884ebfb5bf6af092a764f48d6bc4bc4f215..7cde6c0c36cde6725299e9c8a7a9afa7098b45f8 100644 |
--- a/cc/layers/contents_scaling_layer.cc |
+++ b/cc/layers/contents_scaling_layer.cc |
@@ -44,7 +44,7 @@ void ContentsScalingLayer::Update( |
last_update_contents_scale_x_ = draw_properties().contents_scale_x; |
last_update_contents_scale_y_ = draw_properties().contents_scale_y; |
// Invalidate the whole layer if scale changed. |
- SetNeedsDisplayRect(gfx::Rect(bounds())); |
+ SetNeedsDisplayRect(gfx::Rect(paint_properties().bounds)); |
} |
} // namespace cc |