Index: base/android/jni_generator/testNativeExportsOption.golden |
diff --git a/base/android/jni_generator/testNativeExportsOption.golden b/base/android/jni_generator/testNativeExportsOption.golden |
index 13cd2b94a3b81997879504f01f9a7f9556afe39b..2c89e3bacca85e0c32eb27e894a9027f21d4fa7c 100644 |
--- a/base/android/jni_generator/testNativeExportsOption.golden |
+++ b/base/android/jni_generator/testNativeExportsOption.golden |
@@ -195,18 +195,9 @@ static_cast<jstring>(env->CallStaticObjectMethod(SampleForTests_clazz(env), |
// Step 3: RegisterNatives. |
-static bool RegisterNativesImpl(JNIEnv* env, jclass clazz) { |
- |
- base::subtle::Release_Store(&g_SampleForTests_clazz, |
- static_cast<base::subtle::AtomicWord>(env->NewWeakGlobalRef(clazz)); |
+static bool RegisterNativesImpl(JNIEnv* env) { |
return true; |
} |
-extern "C" JNIEXPORT bool JNICALL |
-Java_org_chromium_example_jni_1generator_SampleForTests_nativeInitNativeClass(JNIEnv* |
- env, jclass clazz) { |
- return RegisterNativesImpl(env, clazz); |
-} |
- |
#endif // org_chromium_example_jni_generator_SampleForTests_JNI |