Index: base/android/jni_generator/testNativeExportsOptionalOption.golden |
diff --git a/base/android/jni_generator/testNativeExportsOptionalOption.golden b/base/android/jni_generator/testNativeExportsOptionalOption.golden |
index e2cf051775061ebef7c7d7d0327d56260f85b422..03484c9ea250381a0f47fa41343c3f22d32a46a1 100644 |
--- a/base/android/jni_generator/testNativeExportsOptionalOption.golden |
+++ b/base/android/jni_generator/testNativeExportsOptionalOption.golden |
@@ -232,12 +232,9 @@ static const JNINativeMethod kMethodsSampleForTests[] = { |
}, |
}; |
-static bool RegisterNativesImpl(JNIEnv* env, jclass clazz) { |
+static bool RegisterNativesImpl(JNIEnv* env) { |
if (base::android::IsManualJniRegistrationDisabled()) return true; |
- base::subtle::Release_Store(&g_SampleForTests_clazz, |
- static_cast<base::subtle::AtomicWord>(env->NewWeakGlobalRef(clazz)); |
- |
const int kMethodsMyOtherInnerClassSize = |
arraysize(kMethodsMyOtherInnerClass); |
@@ -272,10 +269,4 @@ static bool RegisterNativesImpl(JNIEnv* env, jclass clazz) { |
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 |