| Index: ash/wm/window_cycle_list.cc
|
| diff --git a/ash/wm/window_cycle_list.cc b/ash/wm/window_cycle_list.cc
|
| index 428804f66f0d14e3c576facd2194ff5a7b7db80f..d6bf24a59cc3c6abad860b695577844564cb86c5 100644
|
| --- a/ash/wm/window_cycle_list.cc
|
| +++ b/ash/wm/window_cycle_list.cc
|
| @@ -72,8 +72,6 @@ int WindowCycleList::GetWindowIndex(aura::Window* window) {
|
| }
|
|
|
| void WindowCycleList::OnWindowDestroyed(aura::Window* window) {
|
| - window->RemoveObserver(this);
|
| -
|
| WindowList::iterator i = std::find(windows_.begin(), windows_.end(), window);
|
| DCHECK(i != windows_.end());
|
| int removed_index = static_cast<int>(i - windows_.begin());
|
|
|