Index: cc/layers/layer_impl.cc |
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc |
index 0e305b30b0cc28b7cddb4d610bcc7bef3be343f9..a32b33c966f2e3f4761c54e3097a078fe5bdb9db 100644 |
--- a/cc/layers/layer_impl.cc |
+++ b/cc/layers/layer_impl.cc |
@@ -1193,6 +1193,7 @@ gfx::Vector2d LayerImpl::MaxScrollOffset() const { |
scaled_scroll_bounds.SetSize(scale_factor * scaled_scroll_bounds.width(), |
scale_factor * scaled_scroll_bounds.height()); |
+ scaled_scroll_bounds = gfx::ToFlooredSize(scaled_scroll_bounds); |
gfx::Vector2dF max_offset( |
scaled_scroll_bounds.width() - scroll_clip_layer_->bounds().width(), |