Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index 66fa84b4e24de51176166520fb8239f6b445c362..e1dfb7ea0ebf237684c91e73efb7d730141c4672 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -340,10 +340,10 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
// contents scale to appropriate values. LayerImpl doesn't calculate any of |
// them from the other values. |
- void SetBounds(gfx::Size bounds); |
+ void SetBounds(const gfx::Size& bounds); |
gfx::Size bounds() const { return bounds_; } |
- void SetContentBounds(gfx::Size content_bounds); |
+ void SetContentBounds(const gfx::Size& content_bounds); |
gfx::Size content_bounds() const { return draw_properties_.content_bounds; } |
float contents_scale_x() const { return draw_properties_.contents_scale_x; } |