Index: base/android/jni_generator/testInnerClassNativesMultiple.golden |
diff --git a/base/android/jni_generator/testInnerClassNativesMultiple.golden b/base/android/jni_generator/testInnerClassNativesMultiple.golden |
index 42643ae32c92ae71890c0ca9820cbf5f22c85628..5f543641aacb9fa29979ca55fd2b545e0e0614db 100644 |
--- a/base/android/jni_generator/testInnerClassNativesMultiple.golden |
+++ b/base/android/jni_generator/testInnerClassNativesMultiple.golden |
@@ -28,11 +28,21 @@ jclass g_TestJni_clazz = NULL; |
} // namespace |
+// Step 2: method stubs. |
+ |
static jint Init(JNIEnv* env, jobject jcaller); |
+static jint Java_org_chromium_TestJni_00024MyInnerClass_nativeInit(JNIEnv* env, |
+ jobject jcaller) { |
+ return Init(env, jcaller); |
+} |
+ |
static jint Init(JNIEnv* env, jobject jcaller); |
-// Step 2: method stubs. |
+static jint Java_org_chromium_TestJni_00024MyOtherInnerClass_nativeInit(JNIEnv* |
+ env, jobject jcaller) { |
+ return Init(env, jcaller); |
+} |
// Step 3: RegisterNatives. |
@@ -40,14 +50,18 @@ static const JNINativeMethod kMethodsMyOtherInnerClass[] = { |
{ "nativeInit", |
"(" |
")" |
-"I", reinterpret_cast<void*>(Init) }, |
+"I", |
+ reinterpret_cast<void*>(Java_org_chromium_TestJni_00024MyOtherInnerClass_nativeInit) |
+ }, |
}; |
static const JNINativeMethod kMethodsMyInnerClass[] = { |
{ "nativeInit", |
"(" |
")" |
-"I", reinterpret_cast<void*>(Init) }, |
+"I", |
+ reinterpret_cast<void*>(Java_org_chromium_TestJni_00024MyInnerClass_nativeInit) |
+ }, |
}; |
static bool RegisterNativesImpl(JNIEnv* env) { |