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.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/test/fake_content_layer_client.cc b/cc/test/fake_content_layer_client.cc
index efbd4c3..cf82de6 100644
--- a/cc/test/fake_content_layer_client.cc
+++ b/cc/test/fake_content_layer_client.cc
@@ -15,10 +15,10 @@ FakeContentLayerClient::FakeContentLayerClient()
FakeContentLayerClient::~FakeContentLayerClient() {
}
-void FakeContentLayerClient::paintContents(SkCanvas* canvas,
- const gfx::Rect& rect, gfx::RectF& opaque_rect) {
+void FakeContentLayerClient::PaintContents(SkCanvas* canvas,
+ gfx::Rect rect, gfx::RectF* opaque_rect) {
if (paint_all_opaque_)
- opaque_rect = rect;
+ *opaque_rect = rect;
SkPaint paint;
for (RectVector::const_iterator rect_it = draw_rects_.begin();