Index: components/cronet/android/test/cronet_test_jni.cc |
diff --git a/components/cronet/android/test/cronet_test_jni.cc b/components/cronet/android/test/cronet_test_jni.cc |
index 81431e600ba7297caf9749616c71bb5841827ab4..7f4b2197b5e0d402c1fcfd127ab910392ad615dc 100644 |
--- a/components/cronet/android/test/cronet_test_jni.cc |
+++ b/components/cronet/android/test/cronet_test_jni.cc |
@@ -41,8 +41,7 @@ const base::android::RegistrationMethod kCronetTestsRegisteredMethods[] = { |
extern "C" jint JNI_OnLoad(JavaVM* vm, void* reserved) { |
base::android::InitVM(vm); |
JNIEnv* env = base::android::AttachCurrentThread(); |
- if (!base::android::OnJNIOnLoadRegisterJNI(env) || |
- !base::android::OnJNIOnLoadInit()) { |
+ if (!base::android::OnJNIOnLoadInit()) { |
return -1; |
} |