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

Unified Diff: mojo/apps/js/application_delegate_impl.cc

Issue 637373002: Mojo JS bindings: simplify mojo.connectToService() usage - Part 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed the mojo_internals module, made Connection localFactory optional Created 6 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/apps/js/BUILD.gn ('k') | mojo/apps/js/js_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/application_delegate_impl.cc
diff --git a/mojo/apps/js/application_delegate_impl.cc b/mojo/apps/js/application_delegate_impl.cc
index 90495a3faa71ebd8f6052eea8c8f6554d4ccca64..f197c3cc0eb82e2eaa357783c94b32dfb9ef6709 100644
--- a/mojo/apps/js/application_delegate_impl.cc
+++ b/mojo/apps/js/application_delegate_impl.cc
@@ -38,7 +38,7 @@ void ApplicationDelegateImpl::QuitJSApp(JSApp* app) {
if (itr != app_vector_.end())
app_vector_.erase(itr);
if (app_vector_.empty())
- base::MessageLoop::current()->QuitWhenIdle();
+ base::MessageLoop::current()->QuitNow();
}
void ApplicationDelegateImpl::ConnectToService(
« no previous file with comments | « mojo/apps/js/BUILD.gn ('k') | mojo/apps/js/js_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698