| Index: ash/utility/screenshot_controller.cc
|
| diff --git a/ash/utility/screenshot_controller.cc b/ash/utility/screenshot_controller.cc
|
| index 91461bdf722d0cd8bfbc90f36d5b1e9151a5368c..e0118420ef9fc9c05c815d8730b0b5e2c851c669 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());
|
|
|