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

Unified Diff: cc/layer_tree_impl.cc

Issue 12045002: Delete zoomed_viewport_offset_ and its users. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 11 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
Index: cc/layer_tree_impl.cc
diff --git a/cc/layer_tree_impl.cc b/cc/layer_tree_impl.cc
index 328116a7c64ac5d7d7346098b98228890b234cb3..51363496d296236e3b9e7b4afebf3480411afebc 100644
--- a/cc/layer_tree_impl.cc
+++ b/cc/layer_tree_impl.cc
@@ -107,7 +107,7 @@ void LayerTreeImpl::UpdateMaxScrollOffset() {
}
view_bounds.Scale(1 / pinch_zoom_viewport().page_scale_delta());
} else {
- view_bounds = layout_viewport_size();
+ view_bounds = pinch_zoom_viewport().LayoutSpaceViewportSize();
}
gfx::Vector2dF max_scroll = gfx::Rect(ScrollableSize()).bottom_right() -

Powered by Google App Engine
This is Rietveld 408576698