Index: sync/test/fake_server/android/fake_server_helper_android.cc |
diff --git a/sync/test/fake_server/android/fake_server_helper_android.cc b/sync/test/fake_server/android/fake_server_helper_android.cc |
index 18539ff46ea60e3ee9c6654312cf50c980f0d4bf..42542951bf7840e6a938de5e7978192f18ef56c3 100644 |
--- a/sync/test/fake_server/android/fake_server_helper_android.cc |
+++ b/sync/test/fake_server/android/fake_server_helper_android.cc |
@@ -30,7 +30,7 @@ FakeServerHelperAndroid::FakeServerHelperAndroid(JNIEnv* env, jobject obj) { |
FakeServerHelperAndroid::~FakeServerHelperAndroid() { } |
-static jlong Init(JNIEnv* env, jobject obj) { |
+static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { |
FakeServerHelperAndroid* fake_server_android = |
new FakeServerHelperAndroid(env, obj); |
return reinterpret_cast<intptr_t>(fake_server_android); |