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( |