Index: cc/quads/tile_draw_quad.h |
diff --git a/cc/quads/tile_draw_quad.h b/cc/quads/tile_draw_quad.h |
index 6da1e54a95216d93f5230a7a230645d503f3ac75..f4053c5be8ab37b9bc3c37b9d90056f0611544b1 100644 |
--- a/cc/quads/tile_draw_quad.h |
+++ b/cc/quads/tile_draw_quad.h |
@@ -15,17 +15,17 @@ class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase { |
virtual ~TileDrawQuad(); |
void SetNew(const SharedQuadState* shared_quad_state, |
- gfx::Rect rect, |
- gfx::Rect opaque_rect, |
+ const gfx::Rect& rect, |
+ const gfx::Rect& opaque_rect, |
unsigned resource_id, |
const gfx::RectF& tex_coord_rect, |
gfx::Size texture_size, |
bool swizzle_contents); |
void SetAll(const SharedQuadState* shared_quad_state, |
- gfx::Rect rect, |
- gfx::Rect opaque_rect, |
- gfx::Rect visible_rect, |
+ const gfx::Rect& rect, |
+ const gfx::Rect& opaque_rect, |
+ const gfx::Rect& visible_rect, |
bool needs_blending, |
unsigned resource_id, |
const gfx::RectF& tex_coord_rect, |