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..d788ade8d01f958ce82804e5d4979952e370ab3e 100644 |
--- a/chrome/browser/android/monochrome_entry_point.cc |
+++ b/chrome/browser/android/monochrome_entry_point.cc |
@@ -36,8 +36,9 @@ 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::InitJniRegistrationType(base::android::AttachCurrentThread(), |
+ false); |
base::android::SetNativeInitializationHook(NativeInit); |
return JNI_VERSION_1_4; |
} |