| Index: base/command_line.cc
|
| diff --git a/base/command_line.cc b/base/command_line.cc
|
| index d28a4b432187fd997303c3f1d392698461f02dec..61ff5c10c3813e74ffdedece08cc0bf14638716a 100644
|
| --- a/base/command_line.cc
|
| +++ b/base/command_line.cc
|
| @@ -263,7 +263,12 @@ void CommandLine::SetProgram(const FilePath& program) {
|
| }
|
|
|
| bool CommandLine::HasSwitch(const std::string& switch_string) const {
|
| - return switches_.find(LowerASCIIOnWindows(switch_string)) != switches_.end();
|
| + DCHECK_EQ(StringToLowerASCII(switch_string), switch_string);
|
| + return switches_.find(switch_string) != switches_.end();
|
| +}
|
| +
|
| +bool CommandLine::HasSwitch(const char string_constant[]) const {
|
| + return HasSwitch(std::string(string_constant));
|
| }
|
|
|
| std::string CommandLine::GetSwitchValueASCII(
|
|
|