Index: ui/events/gesture_detection/velocity_tracker_unittest.cc |
diff --git a/ui/events/gesture_detection/velocity_tracker_unittest.cc b/ui/events/gesture_detection/velocity_tracker_unittest.cc |
index 7bcf75c82c5343bfbdb75eb741a67e61d11b0e23..215d93e34ce6803849f1a32821b7af6d059c897a 100644 |
--- a/ui/events/gesture_detection/velocity_tracker_unittest.cc |
+++ b/ui/events/gesture_detection/velocity_tracker_unittest.cc |
@@ -50,7 +50,7 @@ class VelocityTrackerTest : public testing::Test { |
static MockMotionEvent Sample(MotionEvent::Action action, |
const gfx::PointF& p0, |
TimeTicks t0, |
- gfx::Vector2dF v, |
+ const gfx::Vector2dF& v, |
TimeDelta dt) { |
const gfx::PointF p = p0 + ScaleVector2d(v, dt.InSecondsF()); |
return MockMotionEvent(action, t0 + dt, p.x(), p.y()); |
@@ -58,7 +58,7 @@ class VelocityTrackerTest : public testing::Test { |
static void ApplyMovementSequence(VelocityTrackerState* state, |
const gfx::PointF& p0, |
- gfx::Vector2dF v, |
+ const gfx::Vector2dF& v, |
TimeTicks t0, |
TimeDelta t, |
size_t samples) { |
@@ -73,7 +73,7 @@ class VelocityTrackerTest : public testing::Test { |
static void ApplyMovement(VelocityTrackerState* state, |
const gfx::PointF& p0, |
- gfx::Vector2dF v, |
+ const gfx::Vector2dF& v, |
TimeTicks t0, |
TimeDelta t, |
size_t samples) { |