Index: ui/compositor/layer_owner.cc |
diff --git a/ui/compositor/layer_owner.cc b/ui/compositor/layer_owner.cc |
index 9fe0b96b6c33a3a093fc669ebcd2623b26a93ab9..d94ff2cc8239813e500d1296b780ae5cd16cff9d 100644 |
--- a/ui/compositor/layer_owner.cc |
+++ b/ui/compositor/layer_owner.cc |
@@ -55,7 +55,7 @@ std::unique_ptr<Layer> LayerOwner::RecreateLayer() { |
new_layer->SetColor(old_layer->GetTargetColor()); |
SkRegion* alpha_shape = old_layer->alpha_shape(); |
if (alpha_shape) |
- new_layer->SetAlphaShape(base::WrapUnique(new SkRegion(*alpha_shape))); |
+ new_layer->SetAlphaShape(base::MakeUnique<SkRegion>(*alpha_shape)); |
if (old_layer->parent()) { |
// Install new layer as a sibling of the old layer, stacked below it. |