summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_content_layer_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/fake_content_layer_client.cc')
-rw-r--r--cc/test/fake_content_layer_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/fake_content_layer_client.cc b/cc/test/fake_content_layer_client.cc
index af70c0c..563e945 100644
--- a/cc/test/fake_content_layer_client.cc
+++ b/cc/test/fake_content_layer_client.cc
@@ -17,7 +17,7 @@ FakeContentLayerClient::~FakeContentLayerClient() {
}
void FakeContentLayerClient::PaintContents(SkCanvas* canvas,
- gfx::Rect paint_rect, gfx::RectF* opaque_rect) {
+ const gfx::Rect& paint_rect, gfx::RectF* opaque_rect) {
if (paint_all_opaque_)
*opaque_rect = paint_rect;