Index: chrome/browser/android/monochrome_entry_point.cc |
diff --git a/chrome/browser/android/monochrome_entry_point.cc b/chrome/browser/android/monochrome_entry_point.cc |
index a3c7f30457b627518a80a8f9137ec071ba72bc90..7a04309c33c0487a927be986397158be35dc8ab1 100644 |
--- a/chrome/browser/android/monochrome_entry_point.cc |
+++ b/chrome/browser/android/monochrome_entry_point.cc |
@@ -36,8 +36,8 @@ bool NativeInit() { |
// This is called by the VM when the shared library is first loaded. |
JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { |
- base::android::DisableManualJniRegistration(); |
base::android::InitVM(vm); |
+ base::android::SetJniRegistrationType(base::android::NO_JNI_REGISTRATION); |
base::android::SetNativeInitializationHook(NativeInit); |
return JNI_VERSION_1_4; |
} |