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

Unified Diff: cc/test/fake_picture_pile_impl.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_content_layer_client.h ('k') | cc/test/fake_scrollbar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_pile_impl.h
diff --git a/cc/test/fake_picture_pile_impl.h b/cc/test/fake_picture_pile_impl.h
index ae424bbba5af69f3caf93c000b19175ec7c66d3e..d4ab8e09c07120b0768bd59f341cf46d3eae7a35 100644
--- a/cc/test/fake_picture_pile_impl.h
+++ b/cc/test/fake_picture_pile_impl.h
@@ -38,7 +38,7 @@ class FakePicturePileImpl : public PicturePileImpl {
client_.add_draw_rect(rect, default_paint_);
}
- void add_draw_bitmap(const SkBitmap& bitmap, gfx::Point point) {
+ void add_draw_bitmap(const SkBitmap& bitmap, const gfx::Point& point) {
client_.add_draw_bitmap(bitmap, point, default_paint_);
}
@@ -47,7 +47,7 @@ class FakePicturePileImpl : public PicturePileImpl {
}
void add_draw_bitmap_with_paint(const SkBitmap& bitmap,
- gfx::Point point,
+ const gfx::Point& point,
const SkPaint& paint) {
client_.add_draw_bitmap(bitmap, point, paint);
}
« no previous file with comments | « cc/test/fake_content_layer_client.h ('k') | cc/test/fake_scrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698