Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3380)

Unified Diff: cc/test/fake_scrollbar.h

Issue 185653013: [#8] Pass gfx::Point by const ref. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build errors on other platforms Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_picture_pile_impl.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « cc/test/fake_picture_pile_impl.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698