Index: mojo/android/javatests/init_library.cc |
diff --git a/mojo/android/javatests/init_library.cc b/mojo/android/javatests/init_library.cc |
index 6d6b2861edd2b7d9a3f4ba3a87b800cca234582b..5aa1a221db58f46409f87a3c94b81731a8a883f3 100644 |
--- a/mojo/android/javatests/init_library.cc |
+++ b/mojo/android/javatests/init_library.cc |
@@ -40,8 +40,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; |