Index: webkit/renderer/compositor_bindings/scrollbar_impl.cc |
diff --git a/webkit/renderer/compositor_bindings/scrollbar_impl.cc b/webkit/renderer/compositor_bindings/scrollbar_impl.cc |
index fb60cd89a5e043450cb80b796de9f8029e342ad8..adbb6b81a5061d4eff414efc1b7e3d592820cdee 100644 |
--- a/webkit/renderer/compositor_bindings/scrollbar_impl.cc |
+++ b/webkit/renderer/compositor_bindings/scrollbar_impl.cc |
@@ -63,7 +63,8 @@ gfx::Rect ScrollbarImpl::TrackRect() const { |
} |
void ScrollbarImpl::PaintPart( |
- SkCanvas* canvas, cc::ScrollbarPart part, gfx::Rect content_rect) { |
+ SkCanvas* canvas, cc::ScrollbarPart part, |
+ const gfx::Rect& content_rect) { |
if (part == cc::THUMB) { |
painter_.paintThumb(canvas, content_rect); |
return; |