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

Unified Diff: content/shell/android/linker_test_apk/content_linker_test_android.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: content/shell/android/linker_test_apk/content_linker_test_android.cc
diff --git a/content/shell/android/linker_test_apk/content_linker_test_android.cc b/content/shell/android/linker_test_apk/content_linker_test_android.cc
index 42c01d0e9407bcb1b7c47f558459af1ed070f02f..261f7b327bee67ba4f1270f65dc675c52c55640d 100644
--- a/content/shell/android/linker_test_apk/content_linker_test_android.cc
+++ b/content/shell/android/linker_test_apk/content_linker_test_android.cc
@@ -19,7 +19,7 @@ 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, true))
return -1;
// To be called only from the UI thread. If loading the library is done on

Powered by Google App Engine
This is Rietveld 408576698