Index: cc/layers/scrollbar_layer_impl_base.h |
diff --git a/cc/layers/scrollbar_layer_impl_base.h b/cc/layers/scrollbar_layer_impl_base.h |
index f75808e66edd1297507c2ca1265a771e2221bd53..6bba7495d730bf0020da1e2350712e369abfcb2f 100644 |
--- a/cc/layers/scrollbar_layer_impl_base.h |
+++ b/cc/layers/scrollbar_layer_impl_base.h |
@@ -53,7 +53,7 @@ class CC_EXPORT ScrollbarLayerImplBase : public LayerImpl { |
bool is_left_side_vertical_scrollbar); |
virtual ~ScrollbarLayerImplBase() {} |
- gfx::Rect ScrollbarLayerRectToContentRect(gfx::RectF layer_rect) const; |
+ gfx::Rect ScrollbarLayerRectToContentRect(const gfx::RectF& layer_rect) const; |
float visible_to_total_length_ratio() const { |
return visible_to_total_length_ratio_; |