Index: cc/quads/content_draw_quad_base.h |
diff --git a/cc/quads/content_draw_quad_base.h b/cc/quads/content_draw_quad_base.h |
index cbf18ca2b157f5e933a49506ba7093f8441aa97f..d07bd368b17894d340d66a8b1fef51bb1ae616e8 100644 |
--- a/cc/quads/content_draw_quad_base.h |
+++ b/cc/quads/content_draw_quad_base.h |
@@ -18,17 +18,17 @@ class CC_EXPORT ContentDrawQuadBase : public DrawQuad { |
public: |
void SetNew(const SharedQuadState* shared_quad_state, |
DrawQuad::Material material, |
- 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, |
bool swizzle_contents); |
void SetAll(const SharedQuadState* shared_quad_state, |
DrawQuad::Material material, |
- 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, |