diff options
Diffstat (limited to 'cc/surfaces/surface_aggregator_test_helpers.cc')
-rw-r--r-- | cc/surfaces/surface_aggregator_test_helpers.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cc/surfaces/surface_aggregator_test_helpers.cc b/cc/surfaces/surface_aggregator_test_helpers.cc index a1bb0be..d484d7e 100644 --- a/cc/surfaces/surface_aggregator_test_helpers.cc +++ b/cc/surfaces/surface_aggregator_test_helpers.cc @@ -46,8 +46,10 @@ void AddTestSurfaceQuad(TestRenderPass* pass, scoped_ptr<SurfaceDrawQuad> surface_quad = SurfaceDrawQuad::Create(); gfx::Rect quad_rect = gfx::Rect(surface_size); - surface_quad->SetNew( - pass->shared_quad_state_list.back(), gfx::Rect(surface_size), surface_id); + surface_quad->SetNew(pass->shared_quad_state_list.back(), + gfx::Rect(surface_size), + gfx::Rect(surface_size), + surface_id); pass->quad_list.push_back(surface_quad.PassAs<DrawQuad>()); } void AddTestRenderPassQuad(TestRenderPass* pass, @@ -67,6 +69,7 @@ void AddTestRenderPassQuad(TestRenderPass* pass, scoped_ptr<RenderPassDrawQuad> quad = RenderPassDrawQuad::Create(); quad->SetNew(shared_state, output_rect, + output_rect, render_pass_id, false, 0, |