Index: cc/output/gl_renderer_unittest.cc |
diff --git a/cc/output/gl_renderer_unittest.cc b/cc/output/gl_renderer_unittest.cc |
index b7f5c801938ae9616831126358d98bc9fe32b8c7..c4f2e324d727764dc9132bcde99b2c554f49c1f0 100644 |
--- a/cc/output/gl_renderer_unittest.cc |
+++ b/cc/output/gl_renderer_unittest.cc |
@@ -1751,7 +1751,8 @@ class MockOutputSurfaceTest : public GLRendererTest { |
void SwapBuffers() { renderer_->SwapBuffers(CompositorFrameMetadata()); } |
- void DrawFrame(float device_scale_factor, gfx::Rect device_viewport_rect) { |
+ void DrawFrame(float device_scale_factor, |
+ const gfx::Rect& device_viewport_rect) { |
RenderPass::Id render_pass_id(1, 0); |
TestRenderPass* render_pass = AddRenderPass(&render_passes_in_draw_order_, |
render_pass_id, |