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

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: Rebase More. Created 6 years, 4 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 4778bfbadc81ab1eceb7c3eb2e73c15d8812d7e3..226a0a09e352b8e01ebb544fa603dfcb561fd10b 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