summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_tree_host_win.cc
diff options
context:
space:
mode:
authorki.stfu <ki.stfu@gmail.com>2015-10-12 13:08:07 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-12 20:09:43 +0000
commitfffec2a89279c42d223e9bb4d230401bfb7e31b3 (patch)
treeb72c01e22da9f83f0f0a310fb38646fd84ec7e97 /ui/aura/window_tree_host_win.cc
parent29a9181d07822e196cffb1e69b90291fdd584098 (diff)
downloadchromium_src-fffec2a89279c42d223e9bb4d230401bfb7e31b3.zip
chromium_src-fffec2a89279c42d223e9bb4d230401bfb7e31b3.tar.gz
chromium_src-fffec2a89279c42d223e9bb4d230401bfb7e31b3.tar.bz2
Don't use base::MessageLoop::{Quit,QuitClosure} in ui/
This patch renames base::MessageLoop::{Quit,QuitClosure} to base::MessageLoop::{QuitWhenIdle,QuitWhenIdleClosure}. BUG=131220 TEST= R=sadrul@chromium.org Review URL: https://codereview.chromium.org/1402543002 Cr-Commit-Position: refs/heads/master@{#353581}
Diffstat (limited to 'ui/aura/window_tree_host_win.cc')
-rw-r--r--ui/aura/window_tree_host_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/aura/window_tree_host_win.cc b/ui/aura/window_tree_host_win.cc
index 1fde2ee..0727401 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() {