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

Unified Diff: cc/test/fake_picture_pile_impl.h

Issue 142863008: Revert of [#7] Pass gfx structs by const ref (gfx::Size) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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_layer_tiling_client.cc ('k') | cc/test/fake_picture_pile_impl.cc » ('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..20d44e398b393006f881bd50b2336ae3942c4723 100644
--- a/cc/test/fake_picture_pile_impl.h
+++ b/cc/test/fake_picture_pile_impl.h
@@ -14,16 +14,16 @@
class FakePicturePileImpl : public PicturePileImpl {
public:
static scoped_refptr<FakePicturePileImpl> CreateFilledPile(
- const gfx::Size& tile_size,
- const gfx::Size& layer_bounds);
+ gfx::Size tile_size,
+ gfx::Size layer_bounds);
static scoped_refptr<FakePicturePileImpl> CreateEmptyPile(
- const gfx::Size& tile_size,
- const gfx::Size& layer_bounds);
+ gfx::Size tile_size,
+ gfx::Size layer_bounds);
static scoped_refptr<FakePicturePileImpl> CreatePileWithRecordedRegion(
- const gfx::Size& tile_size,
- const gfx::Size& layer_bounds,
+ gfx::Size tile_size,
+ gfx::Size layer_bounds,
const Region& recorded_region);
static scoped_refptr<FakePicturePileImpl> CreatePile();
« no previous file with comments | « cc/test/fake_picture_layer_tiling_client.cc ('k') | cc/test/fake_picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698