Index: ui/compositor/layer.h |
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
index bb8b1af6de89c7dd944136a3df2c4b080d88b62b..80c6bb6abf2ebe533c04885aa29e3f0ab8a0e1d6 100644 |
--- a/ui/compositor/layer.h |
+++ b/ui/compositor/layer.h |
@@ -151,7 +151,7 @@ class COMPOSITOR_EXPORT Layer |
// The offset from our parent (stored in bounds.origin()) is an integer but we |
// may need to be at a fractional pixel offset to align properly on screen. |
- void SetSubpixelPositionOffset(const gfx::Vector2dF offset); |
+ void SetSubpixelPositionOffset(const gfx::Vector2dF& offset); |
const gfx::Vector2dF& subpixel_position_offset() const { |
return subpixel_position_offset_; |
} |