Index: testing/android/native_test/native_test_jni_onload.cc |
diff --git a/testing/android/native_test/native_test_jni_onload.cc b/testing/android/native_test/native_test_jni_onload.cc |
index 01c3aba94b174ca430be29d6503c25ba6d7a4ddf..82d4e0b45051772a51a55c9ab16f323105e2c21b 100644 |
--- a/testing/android/native_test/native_test_jni_onload.cc |
+++ b/testing/android/native_test/native_test_jni_onload.cc |
@@ -28,8 +28,7 @@ bool NativeInit() { |
JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { |
base::android::InitVM(vm); |
JNIEnv* env = base::android::AttachCurrentThread(); |
- if (!base::android::OnJNIOnLoadRegisterJNI(env) || !RegisterJNI(env) || |
- !NativeInit()) { |
+ if (!RegisterJNI(env) || !NativeInit()) { |
return -1; |
} |
return JNI_VERSION_1_4; |