Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: cc/layers/layer_impl.cc

Issue 238753004: Vertical GlowEffect shown on about:blank page in low end devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed Unittest Name Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(),
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698