Index: cc/test/render_pass_test_utils.h |
diff --git a/cc/test/render_pass_test_utils.h b/cc/test/render_pass_test_utils.h |
index 650cbc03dc0d5e033c4041bc05400fb8fa99d37d..db739b9518bdc947cb12b1d9fbea4a61cfe7dba1 100644 |
--- a/cc/test/render_pass_test_utils.h |
+++ b/cc/test/render_pass_test_utils.h |
@@ -26,22 +26,22 @@ class TestRenderPass; |
TestRenderPass* AddRenderPass( |
RenderPassList* pass_list, |
RenderPass::Id id, |
- gfx::Rect output_rect, |
+ const gfx::Rect& output_rect, |
const gfx::Transform& root_transform); |
// Adds a solid quad to a given render pass. |
SolidColorDrawQuad* AddQuad(TestRenderPass* pass, |
- gfx::Rect rect, |
+ const gfx::Rect& rect, |
SkColor color); |
// Adds a solid quad to a given render pass and sets is_clipped=true. |
SolidColorDrawQuad* AddClippedQuad(TestRenderPass* pass, |
- gfx::Rect rect, |
+ const gfx::Rect& rect, |
SkColor color); |
// Adds a solid quad with a transform to a given render pass. |
SolidColorDrawQuad* AddTransformedQuad(TestRenderPass* pass, |
- gfx::Rect rect, |
+ const gfx::Rect& rect, |
SkColor color, |
const gfx::Transform& transform); |