Index: cc/quads/picture_draw_quad.h |
diff --git a/cc/quads/picture_draw_quad.h b/cc/quads/picture_draw_quad.h |
index 9bea70b4609959cbbc2a7b092e57c67c6048d965..8f7235315c029bb648b728bfec713e9b1586013c 100644 |
--- a/cc/quads/picture_draw_quad.h |
+++ b/cc/quads/picture_draw_quad.h |
@@ -23,24 +23,24 @@ class CC_EXPORT PictureDrawQuad : public ContentDrawQuadBase { |
virtual ~PictureDrawQuad(); |
void SetNew(const SharedQuadState* shared_quad_state, |
- gfx::Rect rect, |
- gfx::Rect opaque_rect, |
+ const gfx::Rect& rect, |
+ const gfx::Rect& opaque_rect, |
const gfx::RectF& tex_coord_rect, |
gfx::Size texture_size, |
ResourceFormat texture_format, |
- gfx::Rect content_rect, |
+ const gfx::Rect& content_rect, |
float contents_scale, |
scoped_refptr<PicturePileImpl> picture_pile); |
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, |
const gfx::RectF& tex_coord_rect, |
gfx::Size texture_size, |
ResourceFormat texture_format, |
- gfx::Rect content_rect, |
+ const gfx::Rect& content_rect, |
float contents_scale, |
scoped_refptr<PicturePileImpl> picture_pile); |