| Index: shell/android/native_handler_thread.cc
|
| diff --git a/shell/android/native_handler_thread.cc b/shell/android/native_handler_thread.cc
|
| index 9d1df5940c1abfbc99218f19bd09de3638d29276..338f25c82e817aa8bf6c3e14ae30420f3ca3d761 100644
|
| --- a/shell/android/native_handler_thread.cc
|
| +++ b/shell/android/native_handler_thread.cc
|
| @@ -9,13 +9,15 @@
|
|
|
| namespace shell {
|
|
|
| -jlong CreateMessageLoop(JNIEnv* env, jobject jcaller) {
|
| +jlong CreateMessageLoop(JNIEnv* env, const JavaParamRef<jobject>& jcaller) {
|
| scoped_ptr<base::MessageLoop> loop(new base::MessageLoopForUI);
|
| base::MessageLoopForUI::current()->Start();
|
| return reinterpret_cast<intptr_t>(loop.release());
|
| }
|
|
|
| -void DeleteMessageLoop(JNIEnv* env, jobject jcaller, jlong message_loop) {
|
| +void DeleteMessageLoop(JNIEnv* env,
|
| + const JavaParamRef<jobject>& jcaller,
|
| + jlong message_loop) {
|
| scoped_ptr<base::MessageLoop> loop(
|
| reinterpret_cast<base::MessageLoop*>(message_loop));
|
| loop->QuitNow();
|
|
|