diff options
Diffstat (limited to 'chromium/cc/layers/ui_resource_layer.cc')
-rw-r--r-- | chromium/cc/layers/ui_resource_layer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/cc/layers/ui_resource_layer.cc b/chromium/cc/layers/ui_resource_layer.cc index 09b8d9af4cc..b26ebaa6cce 100644 --- a/chromium/cc/layers/ui_resource_layer.cc +++ b/chromium/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; |