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

Unified Diff: content/app/android/library_loader_hooks.cc

Issue 289303004: Allow native command line arguments to be initialized early. (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: Add CommandLine to CookieManagerStartUpTest Created 6 years, 7 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/app/android/library_loader_hooks.cc
diff --git a/content/app/android/library_loader_hooks.cc b/content/app/android/library_loader_hooks.cc
index f69933f1367d205ec4031b8937de5603d3cf6f5d..f2e605cb629e63dda695d7d849bf17f91890b703 100644
--- a/content/app/android/library_loader_hooks.cc
+++ b/content/app/android/library_loader_hooks.cc
@@ -71,10 +71,7 @@ bool EnsureJniRegistered(JNIEnv* env) {
return true;
}
-bool LibraryLoaded(JNIEnv* env, jclass clazz,
- jobjectArray init_command_line) {
- base::android::InitNativeCommandLineFromJavaArray(env, init_command_line);
-
+bool LibraryLoaded(JNIEnv* env, jclass clazz) {
CommandLine* command_line = CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(switches::kTraceStartup)) {

Powered by Google App Engine
This is Rietveld 408576698