| Index: ash/aura/wm_window_aura.cc
|
| diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc
|
| index a46b56f50adc35e58407d139afa7ee42ab5f1221..92675f799ea684a3c87a1e17ffd1b01fc00899af 100644
|
| --- a/ash/aura/wm_window_aura.cc
|
| +++ b/ash/aura/wm_window_aura.cc
|
| @@ -683,8 +683,8 @@ void WmWindowAura::SetChildrenUseExtendedHitRegion() {
|
| -kResizeOutsideBoundsSize);
|
| gfx::Insets touch_extend =
|
| mouse_extend.Scale(kResizeOutsideBoundsScaleForTouch);
|
| - window_->SetEventTargeter(base::WrapUnique(
|
| - new ::wm::EasyResizeWindowTargeter(window_, mouse_extend, touch_extend)));
|
| + window_->SetEventTargeter(base::MakeUnique<::wm::EasyResizeWindowTargeter>(
|
| + window_, mouse_extend, touch_extend));
|
| }
|
|
|
| void WmWindowAura::SetDescendantsStayInSameRootWindow(bool value) {
|
| @@ -692,7 +692,7 @@ void WmWindowAura::SetDescendantsStayInSameRootWindow(bool value) {
|
| }
|
|
|
| std::unique_ptr<views::View> WmWindowAura::CreateViewWithRecreatedLayers() {
|
| - return base::WrapUnique(new wm::WindowMirrorView(this));
|
| + return base::MakeUnique<wm::WindowMirrorView>(this);
|
| }
|
|
|
| void WmWindowAura::AddObserver(WmWindowObserver* observer) {
|
|
|