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

Unified Diff: chrome/browser/zygote_host_linux.cc

Issue 373013: Use GetSwitchValueASCII. (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/common/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/zygote_host_linux.cc
diff --git a/chrome/browser/zygote_host_linux.cc b/chrome/browser/zygote_host_linux.cc
index 00d082c887e457a7121c2a6ae1c53c9f2f7c428b..7e78bab27fd4958e31f7a3e9eaca36be6e768ddd 100644
--- a/chrome/browser/zygote_host_linux.cc
+++ b/chrome/browser/zygote_host_linux.cc
@@ -87,13 +87,13 @@ void ZygoteHost::Init(const std::string& sandbox_cmd) {
}
if (browser_command_line.HasSwitch(switches::kLoggingLevel)) {
cmd_line.AppendSwitchWithValue(switches::kLoggingLevel,
- browser_command_line.GetSwitchValue(
+ browser_command_line.GetSwitchValueASCII(
switches::kLoggingLevel));
}
if (browser_command_line.HasSwitch(switches::kEnableLogging)) {
// Append with value to support --enable-logging=stderr.
cmd_line.AppendSwitchWithValue(switches::kEnableLogging,
- browser_command_line.GetSwitchValue(
+ browser_command_line.GetSwitchValueASCII(
switches::kEnableLogging));
}
if (browser_command_line.HasSwitch(switches::kEnableSeccompSandbox)) {
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/common/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698