Index: cc/test/render_pass_test_utils.cc |
diff --git a/cc/test/render_pass_test_utils.cc b/cc/test/render_pass_test_utils.cc |
index e9614c4e0f2d4b4cb7219ac22cbfd36358e69c6d..94d0f648c440a38026a7507bb6c6ed46dcbdaa66 100644 |
--- a/cc/test/render_pass_test_utils.cc |
+++ b/cc/test/render_pass_test_utils.cc |
@@ -15,14 +15,14 @@ |
namespace cc { |
-TestRenderPass* AddRenderPass(RenderPassList& pass_list, |
+TestRenderPass* AddRenderPass(RenderPassList* pass_list, |
RenderPass::Id id, |
gfx::Rect output_rect, |
const gfx::Transform& root_transform) { |
scoped_ptr<TestRenderPass> pass(TestRenderPass::Create()); |
pass->SetNew(id, output_rect, output_rect, root_transform); |
TestRenderPass* saved = pass.get(); |
- pass_list.push_back(pass.PassAs<RenderPass>()); |
+ pass_list->push_back(pass.PassAs<RenderPass>()); |
return saved; |
} |