summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_picture_pile_impl.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-23 05:36:27 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-23 05:36:27 +0000
commitb9d4a36706c85ded24be4056967142a6fa457050 (patch)
tree9c3152ea15de6fe4e2fea8407b7235e40050a9e3 /cc/test/fake_picture_pile_impl.h
parent3a32dcec256493f20f857e9bc5d1f09a86ecb04e (diff)
downloadchromium_src-b9d4a36706c85ded24be4056967142a6fa457050.zip
chromium_src-b9d4a36706c85ded24be4056967142a6fa457050.tar.gz
chromium_src-b9d4a36706c85ded24be4056967142a6fa457050.tar.bz2
cc: Don't pass simple well-defined classes by reference.
Style-only change to match the rule being added in CL https://codereview.chromium.org/14410002/ . R=enne BUG= Review URL: https://chromiumcodereview.appspot.com/14301021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195726 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_picture_pile_impl.h')
-rw-r--r--cc/test/fake_picture_pile_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/fake_picture_pile_impl.h b/cc/test/fake_picture_pile_impl.h
index f3bde7b..d6479d6 100644
--- a/cc/test/fake_picture_pile_impl.h
+++ b/cc/test/fake_picture_pile_impl.h
@@ -27,7 +27,7 @@ class FakePicturePileImpl : public PicturePileImpl {
void RemoveRecordingAt(int x, int y);
- void add_draw_rect(const gfx::Rect& rect) {
+ void add_draw_rect(gfx::Rect rect) {
client_.add_draw_rect(rect, default_paint_);
}