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

Unified Diff: chrome/common/debug_flags.cc

Issue 3069014: Convert a bunch of easy AppendSwitchWithValue to *ASCII. (Closed)
Patch Set: fix Created 10 years, 5 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: chrome/common/debug_flags.cc
diff --git a/chrome/common/debug_flags.cc b/chrome/common/debug_flags.cc
index dd2eaeed505b0973b6ac1f47973d0222e645a620..31c6c0a6521b8c557911a9e908983236a2c2e5de 100644
--- a/chrome/common/debug_flags.cc
+++ b/chrome/common/debug_flags.cc
@@ -29,7 +29,7 @@ bool DebugFlags::ProcessDebugFlags(CommandLine* command_line,
command_line->AppendSwitch(switches::kDebugOnStart);
should_help_child = true;
}
- command_line->AppendSwitchWithValue(switches::kDebugChildren, value);
+ command_line->AppendSwitchASCII(switches::kDebugChildren, value);
} else if (current_cmd_line.HasSwitch(switches::kWaitForDebuggerChildren)) {
// Look to pass-on the kWaitForDebugger flag.
std::string value = current_cmd_line.GetSwitchValueASCII(
@@ -43,8 +43,7 @@ bool DebugFlags::ProcessDebugFlags(CommandLine* command_line,
value == switches::kPluginProcess)) {
command_line->AppendSwitch(switches::kWaitForDebugger);
}
- command_line->AppendSwitchWithValue(switches::kWaitForDebuggerChildren,
- value);
+ command_line->AppendSwitchASCII(switches::kWaitForDebuggerChildren, value);
}
return should_help_child;
}

Powered by Google App Engine
This is Rietveld 408576698