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

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

Issue 2742473002: gpu benchmarking swipe for touchpad
Patch Set: Update direction in tests that use swipeElement/Page to maintain the same behavior. Created 3 years, 8 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 | « content/common/input/synthetic_smooth_scroll_gesture_params.h ('k') | content/common/input_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {}
« no previous file with comments | « content/common/input/synthetic_smooth_scroll_gesture_params.h ('k') | content/common/input_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698