Index: ui/compositor/layer.cc |
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc |
index ebafff01a12f0a4edcaa140c22faf632de653954..f88557c2dba89b0aab0af5ead1a227d118bf2b4e 100644 |
--- a/ui/compositor/layer.cc |
+++ b/ui/compositor/layer.cc |
@@ -248,7 +248,7 @@ void Layer::SetBounds(const gfx::Rect& bounds) { |
GetAnimator()->SetBounds(bounds); |
} |
-void Layer::SetSubpixelPositionOffset(const gfx::Vector2dF offset) { |
+void Layer::SetSubpixelPositionOffset(const gfx::Vector2dF& offset) { |
subpixel_position_offset_ = offset; |
RecomputePosition(); |
} |