Chromium Code Reviews| Index: ash/shell.cc |
| =================================================================== |
| --- ash/shell.cc (revision 172961) |
| +++ ash/shell.cc (working copy) |
| @@ -898,7 +898,8 @@ |
| void Shell::OnWindowActivated(aura::Window* gained_active, |
| aura::Window* lost_active) { |
| - active_root_window_ = gained_active->GetRootWindow(); |
| + if (gained_active) |
|
sky
2012/12/13 21:38:06
Does this need to set active_root_window_ to NULL
|
| + active_root_window_ = gained_active->GetRootWindow(); |
| } |
| } // namespace ash |