Index: cc/test/fake_scrollbar.h |
diff --git a/cc/test/fake_scrollbar.h b/cc/test/fake_scrollbar.h |
index d6311edb79fb450e4e59212bf0e5c991ecb04f06..872b9d95ab7312f5255164e212a42ad24fff6516 100644 |
--- a/cc/test/fake_scrollbar.h |
+++ b/cc/test/fake_scrollbar.h |
@@ -30,7 +30,7 @@ class FakeScrollbar : public Scrollbar { |
ScrollbarPart part, |
const gfx::Rect& content_rect) OVERRIDE; |
- void set_location(gfx::Point location) { location_ = location; } |
+ void set_location(const gfx::Point& location) { location_ = location; } |
void set_track_rect(const gfx::Rect& track_rect) { track_rect_ = track_rect; } |
void set_thumb_thickness(int thumb_thickness) { |
thumb_thickness_ = thumb_thickness; |