Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2544)

Unified Diff: base/android/jni_generator/testNativeExportsOptionalOption.golden

Issue 1959583003: jni_generator: remove obsolete/unused features. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo whitespace change to reduce diff to golden files Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698