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

Unified Diff: cc/layers/viewport.cc

Issue 2365793002: Fix scroll chaining for non-descendants of root scroller. (Closed)
Patch Set: Rebase and remove hack Created 4 years, 2 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 | « cc/layers/layer_impl.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/viewport.cc
diff --git a/cc/layers/viewport.cc b/cc/layers/viewport.cc
index 8b58c5f3345c0b209d1d5cee67229884c41422cf..dcfd692d18d3099be00ecf85d9db73fb7a671e19 100644
--- a/cc/layers/viewport.cc
+++ b/cc/layers/viewport.cc
@@ -195,7 +195,7 @@ void Viewport::PinchEnd() {
}
LayerImpl* Viewport::MainScrollLayer() const {
- return InnerScrollLayer();
+ return OuterScrollLayer();
}
gfx::Vector2dF Viewport::ScrollTopControls(const gfx::Vector2dF& delta) {
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698