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

Unified Diff: mojo/runner/android/background_application_loader_unittest.cc

Issue 1402533003: Don't use base::MessageLoop::{Quit,QuitClosure} in mojo/ (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
« no previous file with comments | « mojo/application/public/cpp/lib/application_impl.cc ('k') | mojo/runner/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/android/background_application_loader_unittest.cc
diff --git a/mojo/runner/android/background_application_loader_unittest.cc b/mojo/runner/android/background_application_loader_unittest.cc
index ac24ae5054309b1a2eba02b56538c500fc6b761e..f99e44c3c31e9571e1f16cec1fffaa24d3fe0943 100644
--- a/mojo/runner/android/background_application_loader_unittest.cc
+++ b/mojo/runner/android/background_application_loader_unittest.cc
@@ -20,7 +20,7 @@ class DummyLoader : public shell::ApplicationLoader {
void Load(const GURL& url,
InterfaceRequest<Application> application_request) override {
if (simulate_app_quit_)
- base::MessageLoop::current()->Quit();
+ base::MessageLoop::current()->QuitWhenIdle();
}
void DontSimulateAppQuit() { simulate_app_quit_ = false; }
« no previous file with comments | « mojo/application/public/cpp/lib/application_impl.cc ('k') | mojo/runner/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698