Index: cc/quads/render_pass.cc |
diff --git a/cc/quads/render_pass.cc b/cc/quads/render_pass.cc |
index 53cb83703a3de51c95d1fbcbc3572242d825b4ed..cdf3b94c3c5635ec40cb6809e0c7914fd8a938c4 100644 |
--- a/cc/quads/render_pass.cc |
+++ b/cc/quads/render_pass.cc |
@@ -112,8 +112,8 @@ void RenderPass::CopyAll(const ScopedPtrVector<RenderPass>& in, |
} |
void RenderPass::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) { |
DCHECK_GT(id.layer_id, 0); |
DCHECK_GE(id.index, 0); |
@@ -128,8 +128,8 @@ void RenderPass::SetNew(Id id, |
} |
void RenderPass::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) { |
DCHECK_GT(id.layer_id, 0); |