Index: cc/layers/content_layer_unittest.cc |
diff --git a/cc/layers/content_layer_unittest.cc b/cc/layers/content_layer_unittest.cc |
index 724845883e90648c3251c0746662a963ea27d89f..17cf11bc1ac88f71381fef3aaf5788c8a402f49a 100644 |
--- a/cc/layers/content_layer_unittest.cc |
+++ b/cc/layers/content_layer_unittest.cc |
@@ -17,11 +17,11 @@ namespace { |
class MockContentLayerClient : public ContentLayerClient { |
public: |
- explicit MockContentLayerClient(gfx::Rect opaque_layer_rect) |
+ explicit MockContentLayerClient(const gfx::Rect& opaque_layer_rect) |
: opaque_layer_rect_(opaque_layer_rect) {} |
virtual void PaintContents(SkCanvas* canvas, |
- gfx::Rect clip, |
+ const gfx::Rect& clip, |
gfx::RectF* opaque) OVERRIDE { |
*opaque = gfx::RectF(opaque_layer_rect_); |
} |