• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git base/command_line.cc base/command_line.cc
2index 8f26e95cc6c57..141eea233470a 100644
3--- base/command_line.cc
4+++ base/command_line.cc
5@@ -337,11 +337,10 @@ void CommandLine::AppendSwitchPath(StringPiece switch_string,
6
7 void CommandLine::AppendSwitchNative(StringPiece switch_string,
8                                      CommandLine::StringPieceType value) {
9-#if BUILDFLAG(IS_WIN)
10   const std::string switch_key = ToLowerASCII(switch_string);
11+#if BUILDFLAG(IS_WIN)
12   StringType combined_switch_string(UTF8ToWide(switch_key));
13 #elif BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
14-  StringPiece switch_key = switch_string;
15   StringType combined_switch_string(switch_key);
16 #endif
17   size_t prefix_length = GetSwitchPrefixLength(combined_switch_string);
18