| Index: cc/layers/tiled_layer.cc
|
| ===================================================================
|
| --- cc/layers/tiled_layer.cc (revision 194303)
|
| +++ cc/layers/tiled_layer.cc (working copy)
|
| @@ -470,9 +470,11 @@
|
| // The update_rect should be in layer space. So we have to convert the
|
| // paint_rect from content space to layer space.
|
| float width_scale =
|
| - bounds().width() / static_cast<float>(content_bounds().width());
|
| + paint_properties().bounds.width() /
|
| + static_cast<float>(content_bounds().width());
|
| float height_scale =
|
| - bounds().height() / static_cast<float>(content_bounds().height());
|
| + paint_properties().bounds.height() /
|
| + static_cast<float>(content_bounds().height());
|
| update_rect_ = gfx::ScaleRect(paint_rect, width_scale, height_scale);
|
|
|
| // Calling PrepareToUpdate() calls into WebKit to paint, which may have the
|
|
|