Index: cc/layers/layer.h |
diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
index 15b0e0016ab49b4c5f9dee778050a5775cb02950..1c0f27c9a477cab57d4632a1732f5032f7cf0696 100644 |
--- a/cc/layers/layer.h |
+++ b/cc/layers/layer.h |
@@ -267,10 +267,9 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
void SetScrollOffset(gfx::Vector2d scroll_offset); |
gfx::Vector2d scroll_offset() const { return scroll_offset_; } |
- void SetScrollOffsetFromImplSide(gfx::Vector2d scroll_offset); |
+ void SetScrollOffsetFromImplSide(const gfx::Vector2d& scroll_offset); |
gfx::Vector2d MaxScrollOffset() const; |
- |
void SetScrollClipLayerId(int clip_layer_id); |
bool scrollable() const { return scroll_clip_layer_id_ != INVALID_ID; } |