Index: android_webview/native/aw_message_port_service_impl.cc |
diff --git a/android_webview/native/aw_message_port_service_impl.cc b/android_webview/native/aw_message_port_service_impl.cc |
index 969842dc232a8a3bc63ab2411a44293aae23eca9..cbbe282973af48b0db7fd0b815a8663feeec2679 100644 |
--- a/android_webview/native/aw_message_port_service_impl.cc |
+++ b/android_webview/native/aw_message_port_service_impl.cc |
@@ -231,7 +231,7 @@ bool RegisterAwMessagePortService(JNIEnv* env) { |
} |
// static |
-jlong InitAwMessagePortService(JNIEnv* env, jobject obj) { |
+jlong InitAwMessagePortService(JNIEnv* env, const JavaParamRef<jobject>& obj) { |
AwMessagePortServiceImpl* service = AwMessagePortServiceImpl::GetInstance(); |
service->Init(env, obj); |
return reinterpret_cast<intptr_t>(service); |