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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 1844013002: Fix main thread top controls scrolling to mirror CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@propertyTreesBoundsDelta
Patch Set: Whitespace Created 4 years, 9 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/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index ec145516e1b460b2b4f05c0662bfc0cf4d296a36..424637aaa349a2ef637df0d6d104491df878bdda 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -119,8 +119,8 @@ class ViewportAnchor {
gfx::Vector2dF delta =
viewport_in_content_coordinates_.DeltaFrom(viewport_location);
- delta = outer_->ScrollBy(delta);
- inner_->ScrollBy(delta);
+ delta = inner_->ScrollBy(delta);
+ outer_->ScrollBy(delta);
}
private:

Powered by Google App Engine
This is Rietveld 408576698