| Index: ash/accelerators/accelerator_controller_delegate_aura.cc
|
| diff --git a/ash/accelerators/accelerator_controller_delegate_aura.cc b/ash/accelerators/accelerator_controller_delegate_aura.cc
|
| index cfac9a95b617d55bd48cc518989192bde339de6c..ea6cbeb2dfc1aa5f18893211b1f6dd5fff7c8ea6 100644
|
| --- a/ash/accelerators/accelerator_controller_delegate_aura.cc
|
| +++ b/ash/accelerators/accelerator_controller_delegate_aura.cc
|
| @@ -36,6 +36,7 @@
|
| #include "ash/wm/power_button_controller.h"
|
| #include "ash/wm/window_state_aura.h"
|
| #include "ash/wm/window_util.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/metrics/user_metrics.h"
|
| #include "base/strings/string_split.h"
|
| @@ -187,7 +188,7 @@ void HandleRotateActiveWindow() {
|
| ui::LayerAnimator::REPLACE_QUEUED_ANIMATIONS);
|
| active_window->layer()->GetAnimator()->StartAnimation(
|
| new ui::LayerAnimationSequence(
|
| - new WindowRotation(360, active_window->layer())));
|
| + base::MakeUnique<WindowRotation>(360, active_window->layer())));
|
| }
|
| }
|
|
|
|
|