Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1498)

Unified Diff: remoting/client/jni/jni_client.cc

Issue 1312153003: jni_generator: Pass object parameters as JavaParamRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/jni/chromoting_jni_runtime.cc ('k') | sync/android/model_type_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « remoting/client/jni/chromoting_jni_runtime.cc ('k') | sync/android/model_type_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698