Index: android_webview/lib/main/webview_entry_point.cc |
diff --git a/android_webview/lib/main/webview_entry_point.cc b/android_webview/lib/main/webview_entry_point.cc |
index dfda80186b27ebc244ccb42c41d06b8c93031d95..c13e331c10dbae56c96eb0ad8a3196f211d0dcc6 100644 |
--- a/android_webview/lib/main/webview_entry_point.cc |
+++ b/android_webview/lib/main/webview_entry_point.cc |
@@ -12,7 +12,7 @@ JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { |
// WebView uses native JNI exports; disable manual JNI registration because |
// we don't have a good way to detect the JNI registrations which is called, |
// outside of OnJNIOnLoadRegisterJNI code path. |
- base::android::DisableManualJniRegistration(); |
+ base::android::SetJniRegistrationType(base::android::NO_JNI_REGISTRATION); |
base::android::InitVM(vm); |
base::android::SetNativeInitializationHook(&android_webview::OnJNIOnLoadInit); |
return JNI_VERSION_1_4; |