| Index: ash/wm/lock_window_state.cc
|
| diff --git a/ash/wm/lock_window_state.cc b/ash/wm/lock_window_state.cc
|
| index 7e5b4ec37331f5eb57087b25d8d1e95595bc6f87..d5f89a3d707be24b6396f2e585764c52808bbac3 100644
|
| --- a/ash/wm/lock_window_state.cc
|
| +++ b/ash/wm/lock_window_state.cc
|
| @@ -112,8 +112,9 @@ void LockWindowState::DetachState(wm::WindowState* window_state) {
|
|
|
| // static
|
| wm::WindowState* LockWindowState::SetLockWindowState(aura::Window* window) {
|
| - scoped_ptr<wm::WindowState::State> lock_state(new LockWindowState(window));
|
| - scoped_ptr<wm::WindowState::State> old_state(
|
| + std::unique_ptr<wm::WindowState::State> lock_state(
|
| + new LockWindowState(window));
|
| + std::unique_ptr<wm::WindowState::State> old_state(
|
| wm::GetWindowState(window)->SetStateObject(std::move(lock_state)));
|
| return wm::GetWindowState(window);
|
| }
|
|
|