Use CloseAllWindows helper

This commit is contained in:
Kevin Sawicki 2017-04-06 14:37:39 -07:00
parent 8311aa667c
commit 0883a9f966

View file

@ -95,8 +95,7 @@ void AutoUpdater::QuitAndInstall() {
// Otherwise do the restart after all windows have been closed.
window_list->AddObserver(this);
for (NativeWindow* window : *window_list)
window->Close();
WindowList::CloseAllWindows();
}
// static