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

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

Issue 50493015: Allow JNI registration to be performed eagerly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 e7ea8af938d7c8a5faaad2c1c837f6c7f5a3e9e6..4bc57508d5d5ce1583a9c9958aa74027e240864e 100644
--- a/android_webview/lib/main/webview_entry_point.cc
+++ b/android_webview/lib/main/webview_entry_point.cc
@@ -24,7 +24,7 @@ static base::android::RegistrationMethod
JNI_EXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
base::android::InitVM(vm);
JNIEnv* env = base::android::AttachCurrentThread();
- if (!content::RegisterLibraryLoaderEntryHook(env))
+ if (!content::RegisterLibraryLoaderEntryHook(env, false))
return -1;
// Register JNI for components we depend on.
« no previous file with comments | « no previous file | chrome/app/android/chrome_android_initializer.cc » ('j') | content/app/android/library_loader_hooks.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698