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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 1646663002: Refactor Scroll Customization to share cc::ScrollStateData with blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix linking. Created 4 years, 10 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_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 46561da920d67ada5df4ccbb8314cf19304699e9..53642e4205f615504a75534f65e93634a5d50b37 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -1860,7 +1860,8 @@ void LayerTreeImpl::GetViewportSelection(ViewportSelection* selection) {
void LayerTreeImpl::InputScrollAnimationFinished() {
// TODO(majidvp): We should pass in the original starting scroll position here
- ScrollState scroll_state(0, 0, 0, 0, 0, 0, false, false, false);
+ ScrollStateData scroll_state_data;
+ ScrollState scroll_state(scroll_state_data);
layer_tree_host_impl_->ScrollEnd(&scroll_state);
}

Powered by Google App Engine
This is Rietveld 408576698