Index: cc/layers/layer_impl_unittest.cc |
diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc |
index 9d90c04928e70527b32e3b3e4b328874106cd638..ecedaec74a150c1be553094a9e8d7ebffe83e46e 100644 |
--- a/cc/layers/layer_impl_unittest.cc |
+++ b/cc/layers/layer_impl_unittest.cc |
@@ -402,7 +402,7 @@ class ScrollDelegateIgnore : public LayerScrollOffsetDelegate { |
} |
virtual void SetTotalPageScaleFactor(float page_scale_factor) OVERRIDE {} |
- virtual void SetScrollableSize(gfx::SizeF scrollable_size) OVERRIDE {} |
+ virtual void SetScrollableSize(const gfx::SizeF& scrollable_size) OVERRIDE {} |
private: |
gfx::Vector2dF fixed_offset_; |
@@ -454,7 +454,7 @@ class ScrollDelegateAccept : public LayerScrollOffsetDelegate { |
} |
virtual bool IsExternalFlingActive() const OVERRIDE { return false; } |
virtual void SetTotalPageScaleFactor(float page_scale_factor) OVERRIDE {} |
- virtual void SetScrollableSize(gfx::SizeF scrollable_size) OVERRIDE {} |
+ virtual void SetScrollableSize(const gfx::SizeF& scrollable_size) OVERRIDE {} |
private: |
gfx::Vector2dF current_offset_; |