| Index: cc/layers/ui_resource_layer.cc
|
| diff --git a/cc/layers/ui_resource_layer.cc b/cc/layers/ui_resource_layer.cc
|
| index 09b8d9af4cc997b173111cfc2bc44f2fe67f5b22..b26ebaa6cceb71fb2c43b53fcbeaf7c289057b56 100644
|
| --- a/cc/layers/ui_resource_layer.cc
|
| +++ b/cc/layers/ui_resource_layer.cc
|
| @@ -72,7 +72,8 @@ scoped_ptr<LayerImpl> UIResourceLayer::CreateLayerImpl(
|
| return UIResourceLayerImpl::Create(tree_impl, id()).PassAs<LayerImpl>();
|
| }
|
|
|
| -void UIResourceLayer::SetUV(gfx::PointF top_left, gfx::PointF bottom_right) {
|
| +void UIResourceLayer::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;
|
|
|