Index: ash/utility/screenshot_controller.cc |
diff --git a/ash/utility/screenshot_controller.cc b/ash/utility/screenshot_controller.cc |
index 7503cc5dc23f302df16ffecdc6be4bbedae9d614..ce2c799e884470fbaf45d9bf9c1918c6d6ca3d76 100644 |
--- a/ash/utility/screenshot_controller.cc |
+++ b/ash/utility/screenshot_controller.cc |
@@ -88,7 +88,7 @@ class ScreenshotController::ScreenshotLayer : public ui::LayerOwner, |
public: |
ScreenshotLayer(ui::Layer* parent, bool immediate_overlay) |
: draw_inactive_overlay_(immediate_overlay) { |
- SetLayer(new ui::Layer(ui::LAYER_TEXTURED)); |
+ SetLayer(base::MakeUnique<ui::Layer>(ui::LAYER_TEXTURED)); |
layer()->SetFillsBoundsOpaquely(false); |
layer()->SetBounds(parent->bounds()); |
parent->Add(layer()); |