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

Unified Diff: mojo/android/system/base_run_loop.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/android/javatests/mojo_test_case.cc ('k') | mojo/application/public/cpp/lib/application_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/android/system/base_run_loop.cc
diff --git a/mojo/android/system/base_run_loop.cc b/mojo/android/system/base_run_loop.cc
index df78561b27de3d8cb57de74d3b9a4278334976d8..e48d2f0e0199476d964da8339a01945cc801e632 100644
--- a/mojo/android/system/base_run_loop.cc
+++ b/mojo/android/system/base_run_loop.cc
@@ -39,7 +39,7 @@ static void RunUntilIdle(JNIEnv* env,
static void Quit(JNIEnv* env,
const JavaParamRef<jobject>& jcaller,
jlong runLoopID) {
- reinterpret_cast<base::MessageLoop*>(runLoopID)->Quit();
+ reinterpret_cast<base::MessageLoop*>(runLoopID)->QuitWhenIdle();
}
static void RunJavaRunnable(
« no previous file with comments | « mojo/android/javatests/mojo_test_case.cc ('k') | mojo/application/public/cpp/lib/application_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698