Index: cc/test/fake_output_surface_client.h |
diff --git a/cc/test/fake_output_surface_client.h b/cc/test/fake_output_surface_client.h |
index c0bf3599295687c9c64163b1ac7736c24da9665c..b944d09b9b9332e32daa3add7498c6359d48c512 100644 |
--- a/cc/test/fake_output_surface_client.h |
+++ b/cc/test/fake_output_surface_client.h |
@@ -22,7 +22,7 @@ class FakeOutputSurfaceClient : public OutputSurfaceClient { |
virtual bool DeferredInitialize( |
scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE; |
virtual void ReleaseGL() OVERRIDE {} |
- virtual void SetNeedsRedrawRect(gfx::Rect damage_rect) OVERRIDE {} |
+ virtual void SetNeedsRedrawRect(const gfx::Rect& damage_rect) OVERRIDE {} |
virtual void BeginImplFrame(const BeginFrameArgs& args) OVERRIDE; |
virtual void DidSwapBuffers() OVERRIDE {} |
virtual void OnSwapBuffersComplete() OVERRIDE {} |
@@ -30,8 +30,8 @@ class FakeOutputSurfaceClient : public OutputSurfaceClient { |
virtual void DidLoseOutputSurface() OVERRIDE; |
virtual void SetExternalDrawConstraints( |
const gfx::Transform& transform, |
- gfx::Rect viewport, |
- gfx::Rect clip, |
+ const gfx::Rect& viewport, |
+ const gfx::Rect& clip, |
bool valid_for_tile_management) OVERRIDE {} |
virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) OVERRIDE; |
virtual void SetTreeActivationCallback(const base::Closure&) OVERRIDE {} |