Index: cc/layers/texture_layer_impl.cc |
diff --git a/cc/layers/texture_layer_impl.cc b/cc/layers/texture_layer_impl.cc |
index a7775c9067b800520311217a9579d12bdd0c899e..8728b89db9c2aaa1a8840239d992a9953aca5975 100644 |
--- a/cc/layers/texture_layer_impl.cc |
+++ b/cc/layers/texture_layer_impl.cc |
@@ -219,12 +219,12 @@ void TextureLayerImpl::SetNearestNeighbor(bool nearest_neighbor) { |
SetNeedsPushProperties(); |
} |
-void TextureLayerImpl::SetUVTopLeft(const gfx::PointF top_left) { |
+void TextureLayerImpl::SetUVTopLeft(const gfx::PointF& top_left) { |
uv_top_left_ = top_left; |
SetNeedsPushProperties(); |
} |
-void TextureLayerImpl::SetUVBottomRight(const gfx::PointF bottom_right) { |
+void TextureLayerImpl::SetUVBottomRight(const gfx::PointF& bottom_right) { |
uv_bottom_right_ = bottom_right; |
SetNeedsPushProperties(); |
} |