Index: cc/layers/layer.cc |
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
index 045ea73c0f9028601d960545bd98ffeb7599475e..f5850067c415af5bc11f9495d2933533904a32e7 100644 |
--- a/cc/layers/layer.cc |
+++ b/cc/layers/layer.cc |
@@ -1066,7 +1066,7 @@ void Layer::OnTransformAnimated(const gfx::Transform& transform) { |
transform_ = transform; |
} |
-void Layer::OnScrollOffsetAnimated(gfx::Vector2dF scroll_offset) { |
+void Layer::OnScrollOffsetAnimated(const gfx::Vector2dF& scroll_offset) { |
// Do nothing. Scroll deltas will be sent from the compositor thread back |
// to the main thread in the same manner as during non-animated |
// compositor-driven scrolling. |