Index: cc/quads/render_pass.h |
diff --git a/cc/quads/render_pass.h b/cc/quads/render_pass.h |
index 407381fb1727fc379c009809b201927b5fe246c2..4285e53010311d27d7b4fd58ddb70f81b15354c0 100644 |
--- a/cc/quads/render_pass.h |
+++ b/cc/quads/render_pass.h |
@@ -76,13 +76,13 @@ class CC_EXPORT RenderPass { |
ScopedPtrVector<RenderPass>* out); |
void SetNew(Id id, |
- gfx::Rect output_rect, |
- gfx::RectF damage_rect, |
+ const gfx::Rect& output_rect, |
+ const gfx::RectF& damage_rect, |
const gfx::Transform& transform_to_root_target); |
void SetAll(Id id, |
- gfx::Rect output_rect, |
- gfx::RectF damage_rect, |
+ const gfx::Rect& output_rect, |
+ const gfx::RectF& damage_rect, |
const gfx::Transform& transform_to_root_target, |
bool has_transparent_background); |