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

Unified Diff: content/shell/android/browsertests_apk/content_browser_tests_android.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: content/shell/android/browsertests_apk/content_browser_tests_android.cc
diff --git a/content/shell/android/browsertests_apk/content_browser_tests_android.cc b/content/shell/android/browsertests_apk/content_browser_tests_android.cc
index d4dd0b2221e12c8a3cd7e25f2df7546baaa6efe4..b50f5df4a8d222ba932de846f37dbecfd02924d7 100644
--- a/content/shell/android/browsertests_apk/content_browser_tests_android.cc
+++ b/content/shell/android/browsertests_apk/content_browser_tests_android.cc
@@ -105,18 +105,12 @@ 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;
-
if (!content::android::RegisterShellJni(env))
return -1;
if (!content::NestedMessagePumpAndroid::RegisterJni(env))
return -1;
- if (!content::RegisterNativesImpl(env))
- return -1;
-
content::SetContentMainDelegate(new content::ShellMainDelegate());
return JNI_VERSION_1_4;
}

Powered by Google App Engine
This is Rietveld 408576698