summaryrefslogtreecommitdiffstats
path: root/base/command_line.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/command_line.cc')
-rw-r--r--base/command_line.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/command_line.cc b/base/command_line.cc
index 61ff5c1..3e143cc 100644
--- a/base/command_line.cc
+++ b/base/command_line.cc
@@ -263,8 +263,7 @@ void CommandLine::SetProgram(const FilePath& program) {
}
bool CommandLine::HasSwitch(const std::string& switch_string) const {
- DCHECK_EQ(StringToLowerASCII(switch_string), switch_string);
- return switches_.find(switch_string) != switches_.end();
+ return switches_.find(LowerASCIIOnWindows(switch_string)) != switches_.end();
}
bool CommandLine::HasSwitch(const char string_constant[]) const {