Index: cc/layers/texture_layer.cc |
diff --git a/cc/layers/texture_layer.cc b/cc/layers/texture_layer.cc |
index 195d05ddaba5721f1407a99a24912c69fecab392..a6387802b4279b631f1ed4907d61125067844410 100644 |
--- a/cc/layers/texture_layer.cc |
+++ b/cc/layers/texture_layer.cc |
@@ -69,7 +69,8 @@ void TextureLayer::SetFlipped(bool flipped) { |
SetNeedsCommit(); |
} |
-void TextureLayer::SetUV(gfx::PointF top_left, gfx::PointF bottom_right) { |
+void TextureLayer::SetUV(const gfx::PointF& top_left, |
+ const gfx::PointF& bottom_right) { |
if (uv_top_left_ == top_left && uv_bottom_right_ == bottom_right) |
return; |
uv_top_left_ = top_left; |