Index: base/android/java_handler_thread.cc |
diff --git a/base/android/java_handler_thread.cc b/base/android/java_handler_thread.cc |
index ce5d0fe97559f15923f9a1852f79b85994e722d7..18e1440ee5cdfc33429ae5515be88164d55de3ec 100644 |
--- a/base/android/java_handler_thread.cc |
+++ b/base/android/java_handler_thread.cc |
@@ -46,7 +46,8 @@ void JavaHandlerThread::Start() { |
void JavaHandlerThread::Stop() { |
} |
-void JavaHandlerThread::InitializeThread(JNIEnv* env, jobject obj, jint event) { |
+void JavaHandlerThread::InitializeThread(JNIEnv* env, jobject obj, |
+ jlong event) { |
// TYPE_JAVA to get the Android java style message loop. |
message_loop_.reset(new base::MessageLoop(base::MessageLoop::TYPE_JAVA)); |
static_cast<MessageLoopForUI*>(message_loop_.get())->Start(); |