Index: cc/trees/proxy.h |
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h |
index 8949a02c5a8824402007ff6df9157675f723a7c2..e9876902dec08b59528391f822bbb28d983e5af0 100644 |
--- a/cc/trees/proxy.h |
+++ b/cc/trees/proxy.h |
@@ -46,7 +46,7 @@ class CC_EXPORT Proxy { |
virtual ~Proxy(); |
- virtual bool CompositeAndReadback(void* pixels, gfx::Rect rect) = 0; |
+ virtual bool CompositeAndReadback(void* pixels, const gfx::Rect& rect) = 0; |
virtual void FinishAllRendering() = 0; |
@@ -68,7 +68,7 @@ class CC_EXPORT Proxy { |
virtual void SetNeedsAnimate() = 0; |
virtual void SetNeedsUpdateLayers() = 0; |
virtual void SetNeedsCommit() = 0; |
- virtual void SetNeedsRedraw(gfx::Rect damage_rect) = 0; |
+ virtual void SetNeedsRedraw(const gfx::Rect& damage_rect) = 0; |
virtual void SetNextCommitWaitsForActivation() = 0; |
virtual void NotifyInputThrottledUntilCommit() = 0; |