diff options
Diffstat (limited to 'cc/output/output_surface.h')
-rw-r--r-- | cc/output/output_surface.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h index 0d7d4e7..aae3b8c 100644 --- a/cc/output/output_surface.h +++ b/cc/output/output_surface.h @@ -175,7 +175,7 @@ class CC_EXPORT OutputSurface : public FrameRateControllerClient { // Forwarded to OutputSurfaceClient but threaded through OutputSurface // first so OutputSurface has a chance to update the FrameRateController - void SetNeedsRedrawRect(gfx::Rect damage_rect); + void SetNeedsRedrawRect(const gfx::Rect& damage_rect); void BeginImplFrame(const BeginFrameArgs& args); void DidSwapBuffers(); void OnSwapBuffersComplete(); @@ -183,8 +183,8 @@ class CC_EXPORT OutputSurface : public FrameRateControllerClient { void DidLoseOutputSurface(); void SetExternalStencilTest(bool enabled); 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); // virtual for testing. |