Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2069)

Unified Diff: android_webview/lib/main/webview_entry_point.cc

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Fix android webview build issues. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1eefd526138bacff89ca60951a90f5dd1e9b0deb..2065c64f23a0b96a4da72e7a8496263cad2e30ea 100644
--- a/android_webview/lib/main/webview_entry_point.cc
+++ b/android_webview/lib/main/webview_entry_point.cc
@@ -29,8 +29,6 @@ JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
base::android::InitVM(vm);
JNIEnv* env = base::android::AttachCurrentThread();
- if (!base::android::RegisterLibraryLoaderEntryHook(env))
- return -1;
// Register content JNI functions now, rather than waiting until
// LibraryLoadedOnMainThread, so that we can call into native code early.
« no previous file with comments | « no previous file | android_webview/native/android_webview_jni_registrar.cc » ('j') | build/android/android_exports.lst » ('J')

Powered by Google App Engine
This is Rietveld 408576698