Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Unified Diff: ui/aura/window_tree_host_win.cc

Issue 1402543002: Don't use base::MessageLoop::{Quit,QuitClosure} in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/aura/window_tree_host_win.cc
diff --git a/ui/aura/window_tree_host_win.cc b/ui/aura/window_tree_host_win.cc
index 1fde2eea43b3ea8a64d40423680ddb2e7d28ccb5..0727401355fb8135ecd70fa7a75a094b12a2c204 100644
--- a/ui/aura/window_tree_host_win.cc
+++ b/ui/aura/window_tree_host_win.cc
@@ -128,7 +128,7 @@ void WindowTreeHostWin::DispatchEvent(ui::Event* event) {
void WindowTreeHostWin::OnCloseRequest() {
// TODO: this obviously shouldn't be here.
- base::MessageLoopForUI::current()->Quit();
+ base::MessageLoopForUI::current()->QuitWhenIdle();
}
void WindowTreeHostWin::OnClosed() {

Powered by Google App Engine
This is Rietveld 408576698