Index: remoting/client/jni/jni_client.cc |
diff --git a/remoting/client/jni/jni_client.cc b/remoting/client/jni/jni_client.cc |
index 0f634ff181bed551310b6a3e1f5e7838f617ed9a..4af5d8620beb791fe4048ad35d6289d8cd47ef99 100644 |
--- a/remoting/client/jni/jni_client.cc |
+++ b/remoting/client/jni/jni_client.cc |
@@ -23,7 +23,7 @@ void JniClient::Destroy(JNIEnv* env, jobject caller) { |
delete this; |
} |
-static jlong Init(JNIEnv* env, jobject caller) { |
+static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& caller) { |
return reinterpret_cast<intptr_t>(new JniClient()); |
} |