Index: ui/compositor/layer.cc |
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc |
index 51322be303be640bb047b82259aca4b456bc7d91..7f6f6838d56301c68f64c27dd750d9716b4268dc 100644 |
--- a/ui/compositor/layer.cc |
+++ b/ui/compositor/layer.cc |
@@ -623,7 +623,7 @@ void Layer::RequestCopyOfOutput(scoped_ptr<cc::CopyOutputRequest> request) { |
} |
void Layer::PaintContents(SkCanvas* sk_canvas, |
- gfx::Rect clip, |
+ const gfx::Rect& clip, |
gfx::RectF* opaque) { |
TRACE_EVENT0("ui", "Layer::PaintContents"); |
scoped_ptr<gfx::Canvas> canvas(gfx::Canvas::CreateCanvasWithoutScaling( |