summaryrefslogtreecommitdiffstats
path: root/cc/output/software_renderer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/output/software_renderer_unittest.cc')
-rw-r--r--cc/output/software_renderer_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/output/software_renderer_unittest.cc b/cc/output/software_renderer_unittest.cc
index 259805f..ae524dc 100644
--- a/cc/output/software_renderer_unittest.cc
+++ b/cc/output/software_renderer_unittest.cc
@@ -218,7 +218,7 @@ TEST_F(SoftwareRendererTest, ShouldClearRootRenderPass) {
// Draw a fullscreen green quad in a first frame.
RenderPass::Id root_clear_pass_id(1, 0);
TestRenderPass* root_clear_pass =
- AddRenderPass(list, root_clear_pass_id, viewport_rect, gfx::Transform());
+ AddRenderPass(&list, root_clear_pass_id, viewport_rect, gfx::Transform());
AddQuad(root_clear_pass, viewport_rect, SK_ColorGREEN);
renderer()->DecideRenderPassAllocationsForFrame(list);
@@ -236,7 +236,7 @@ TEST_F(SoftwareRendererTest, ShouldClearRootRenderPass) {
RenderPass::Id root_smaller_pass_id(2, 0);
TestRenderPass* root_smaller_pass = AddRenderPass(
- list, root_smaller_pass_id, viewport_rect, gfx::Transform());
+ &list, root_smaller_pass_id, viewport_rect, gfx::Transform());
AddQuad(root_smaller_pass, smaller_rect, SK_ColorMAGENTA);
renderer()->DecideRenderPassAllocationsForFrame(list);