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

Unified Diff: content/common/input/synthetic_smooth_scroll_gesture_params.cc

Issue 2742473002: gpu benchmarking swipe for touchpad
Patch Set: comments addressed. Created 3 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: content/common/input/synthetic_smooth_scroll_gesture_params.cc
diff --git a/content/common/input/synthetic_smooth_scroll_gesture_params.cc b/content/common/input/synthetic_smooth_scroll_gesture_params.cc
index 8e1c974827020f2f2f6e79400fe855da021c5f5b..a564ea630118a09bb611a68f18c261f51c5ce006 100644
--- a/content/common/input/synthetic_smooth_scroll_gesture_params.cc
+++ b/content/common/input/synthetic_smooth_scroll_gesture_params.cc
@@ -17,10 +17,11 @@ SyntheticSmoothScrollGestureParams::SyntheticSmoothScrollGestureParams()
: prevent_fling(true), speed_in_pixels_s(kDefaultSpeedInPixelsS) {}
SyntheticSmoothScrollGestureParams::SyntheticSmoothScrollGestureParams(
- const SyntheticSmoothScrollGestureParams& other)
+ const SyntheticSmoothScrollGestureParams& other)
: SyntheticGestureParams(other),
anchor(other.anchor),
distances(other.distances),
+ velocity(other.velocity),
prevent_fling(other.prevent_fling),
speed_in_pixels_s(other.speed_in_pixels_s) {}

Powered by Google App Engine
This is Rietveld 408576698