Index: base/android/jni_generator/testPureNativeMethodsOption.golden |
diff --git a/base/android/jni_generator/testPureNativeMethodsOption.golden b/base/android/jni_generator/testPureNativeMethodsOption.golden |
index e876ab1dccd024c11dc8886aa739ba8267716366..e7f8d53dd4d792531b0b69537954d95969dfce7e 100644 |
--- a/base/android/jni_generator/testPureNativeMethodsOption.golden |
+++ b/base/android/jni_generator/testPureNativeMethodsOption.golden |
@@ -23,8 +23,8 @@ jclass g_Test_clazz = NULL; |
} // namespace |
// Step 2: method stubs. |
-static jint Method(JNIEnv* env, jobject jcaller, |
- jint nativeTest, |
+static jlong Method(JNIEnv* env, jobject jcaller, |
+ jlong nativeTest, |
jint arg1) { |
Test* native = reinterpret_cast<Test*>(nativeTest); |
CHECK_NATIVE_PTR(env, jcaller, native, "Method", 0); |
@@ -36,10 +36,10 @@ static jint Method(JNIEnv* env, jobject jcaller, |
static const JNINativeMethod kMethodsTest[] = { |
{ "nativeMethod", |
"(" |
-"I" |
+"J" |
"I" |
")" |
-"I", reinterpret_cast<void*>(Method) }, |
+"J", reinterpret_cast<void*>(Method) }, |
}; |
static bool RegisterNativesImpl(JNIEnv* env) { |