Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index e4fb0882c1fe48518c3418f909f14ae0d7771e1a..2b85e321c33940f88a560c34e23403035e36d59d 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -114,7 +114,7 @@ class CC_EXPORT LayerTreeHostImpl |
gfx::Point viewport_point, |
InputHandler::ScrollInputType type) OVERRIDE; |
virtual bool ScrollBy(gfx::Point viewport_point, |
- gfx::Vector2dF scroll_delta) OVERRIDE; |
+ const gfx::Vector2dF& scroll_delta) OVERRIDE; |
virtual bool ScrollVerticallyByPage(gfx::Point viewport_point, |
ScrollDirection direction) OVERRIDE; |
virtual void SetRootLayerScrollOffsetDelegate( |
@@ -122,7 +122,8 @@ class CC_EXPORT LayerTreeHostImpl |
virtual void OnRootLayerDelegatedScrollOffsetChanged() OVERRIDE; |
virtual void ScrollEnd() OVERRIDE; |
virtual InputHandler::ScrollStatus FlingScrollBegin() OVERRIDE; |
- virtual void NotifyCurrentFlingVelocity(gfx::Vector2dF velocity) OVERRIDE; |
+ virtual void NotifyCurrentFlingVelocity( |
+ const gfx::Vector2dF& velocity) OVERRIDE; |
virtual void MouseMoveAt(gfx::Point viewport_point) OVERRIDE; |
virtual void PinchGestureBegin() OVERRIDE; |
virtual void PinchGestureUpdate(float magnify_delta, |
@@ -471,7 +472,7 @@ class CC_EXPORT LayerTreeHostImpl |
LayerImpl* layer_impl, |
float scale_from_viewport_to_screen_space, |
const gfx::PointF& viewport_point, |
- gfx::Vector2dF viewport_delta); |
+ const gfx::Vector2dF& viewport_delta); |
void UpdateMaxScrollOffset(); |
void TrackDamageForAllSurfaces( |