Index: cc/input/input_handler.h |
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h |
index fde89d265d6f6d7043065d6a6ef9833202b01f55..987f7a672e461cf4a45c1dda0c6e7217bc6ac3a5 100644 |
--- a/cc/input/input_handler.h |
+++ b/cc/input/input_handler.h |
@@ -85,7 +85,7 @@ class CC_EXPORT InputHandler { |
// to the client. |
// Should only be called if ScrollBegin() returned ScrollStarted. |
virtual bool ScrollBy(gfx::Point viewport_point, |
- gfx::Vector2dF scroll_delta) = 0; |
+ const gfx::Vector2dF& scroll_delta) = 0; |
virtual bool ScrollVerticallyByPage( |
gfx::Point viewport_point, |
@@ -95,7 +95,7 @@ class CC_EXPORT InputHandler { |
// ScrollIgnored if not. |
virtual ScrollStatus FlingScrollBegin() = 0; |
- virtual void NotifyCurrentFlingVelocity(gfx::Vector2dF velocity) = 0; |
+ virtual void NotifyCurrentFlingVelocity(const gfx::Vector2dF& velocity) = 0; |
virtual void MouseMoveAt(gfx::Point mouse_position) = 0; |