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

Unified Diff: cc/input/scroll_state_data.cc

Issue 2907053004: GSB uses delta_hints to calculate scrolling chain. (Closed)
Patch Set: review comments addressed. Created 3 years, 6 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/input/scroll_state_data.cc
diff --git a/cc/input/scroll_state_data.cc b/cc/input/scroll_state_data.cc
index 567a02446be2c8a8e0f4647efde43de286d43d36..c46a3fc8f03143d3313a642ac354bbc18f26c00c 100644
--- a/cc/input/scroll_state_data.cc
+++ b/cc/input/scroll_state_data.cc
@@ -10,6 +10,9 @@ namespace cc {
ScrollStateData::ScrollStateData()
: delta_x(0),
delta_y(0),
+ delta_x_hint(0),
+ delta_y_hint(0),
+ ignore_delta_hints(false),
position_x(0),
position_y(0),
velocity_x(0),

Powered by Google App Engine
This is Rietveld 408576698