| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index 46b32335b635791e314fd6895055f6a887414ec1..a4d5ddd279528ba439608ec535e76698b1f7ec71 100644
|
| --- a/cc/layers/layer.h
|
| +++ b/cc/layers/layer.h
|
| @@ -102,7 +102,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
|
| return !copy_requests_.empty();
|
| }
|
|
|
| - void SetAnchorPoint(gfx::PointF anchor_point);
|
| + void SetAnchorPoint(const gfx::PointF& anchor_point);
|
| gfx::PointF anchor_point() const { return anchor_point_; }
|
|
|
| void SetAnchorPointZ(float anchor_point_z);
|
| @@ -165,7 +165,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
|
| virtual void SetContentsOpaque(bool opaque);
|
| bool contents_opaque() const { return contents_opaque_; }
|
|
|
| - void SetPosition(gfx::PointF position);
|
| + void SetPosition(const gfx::PointF& position);
|
| gfx::PointF position() const { return position_; }
|
|
|
| void SetIsContainerForFixedPositionLayers(bool container);
|
|
|