Index: cc/layers/ui_resource_layer_impl.cc |
diff --git a/cc/layers/ui_resource_layer_impl.cc b/cc/layers/ui_resource_layer_impl.cc |
index 2c9a28681cedc413caf2893cf2ee6e0d42c13307..8a45eaa9f70dc7621f343e8674a95dbf007c2fa2 100644 |
--- a/cc/layers/ui_resource_layer_impl.cc |
+++ b/cc/layers/ui_resource_layer_impl.cc |
@@ -62,8 +62,8 @@ void UIResourceLayerImpl::SetImageBounds(gfx::Size image_bounds) { |
NoteLayerPropertyChanged(); |
} |
-void UIResourceLayerImpl::SetUV(gfx::PointF top_left, |
- gfx::PointF bottom_right) { |
+void UIResourceLayerImpl::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; |