Index: cc/output/output_surface.h |
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h |
index 0d7d4e7fb964ab9647bf8804e9bb402f097d1516..aae3b8c12ebfe5c7c985955df1b5462226dd4d33 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. |