Index: ui/compositor/layer.h |
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
index ff2f7da4f84cc96890a584f757c732e16f25dc17..f52c40fef37d4883efc5843b2a97343a7e96e77b 100644 |
--- a/ui/compositor/layer.h |
+++ b/ui/compositor/layer.h |
@@ -316,7 +316,7 @@ class COMPOSITOR_EXPORT Layer |
// ContentLayerClient |
virtual void PaintContents( |
- SkCanvas* canvas, gfx::Rect clip, gfx::RectF* opaque) OVERRIDE; |
+ SkCanvas* canvas, const gfx::Rect& clip, gfx::RectF* opaque) OVERRIDE; |
virtual void DidChangeLayerCanUseLCDText() OVERRIDE {} |
cc::Layer* cc_layer() { return cc_layer_; } |