Index: content/browser/aura/software_output_device_ozone.cc |
diff --git a/content/browser/aura/software_output_device_ozone.cc b/content/browser/aura/software_output_device_ozone.cc |
index 1641f0f667bac790de7644d35103886b6f3821de..29b322e818054e41ffd3e6ff6e29210cfd4e7da9 100644 |
--- a/content/browser/aura/software_output_device_ozone.cc |
+++ b/content/browser/aura/software_output_device_ozone.cc |
@@ -45,7 +45,7 @@ void SoftwareOutputDeviceOzone::Resize(gfx::Size viewport_size) { |
device_ = skia::SharePtr(canvas_->getDevice()); |
} |
-SkCanvas* SoftwareOutputDeviceOzone::BeginPaint(gfx::Rect damage_rect) { |
+SkCanvas* SoftwareOutputDeviceOzone::BeginPaint(const gfx::Rect& damage_rect) { |
DCHECK(gfx::Rect(viewport_size_).Contains(damage_rect)); |
canvas_->clipRect(gfx::RectToSkRect(damage_rect), SkRegion::kReplace_Op); |