mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-12 01:26:03 +01:00
c7ea0c5958
- Mac: 10.13 is now the minimum required macOS version
18 lines
769 B
Diff
18 lines
769 B
Diff
diff --git base/command_line.cc base/command_line.cc
|
|
index 9ea1c437056ea..5fcea78a3325a 100644
|
|
--- base/command_line.cc
|
|
+++ base/command_line.cc
|
|
@@ -339,11 +339,10 @@ void CommandLine::AppendSwitchPath(StringPiece switch_string,
|
|
|
|
void CommandLine::AppendSwitchNative(StringPiece switch_string,
|
|
CommandLine::StringPieceType value) {
|
|
-#if BUILDFLAG(IS_WIN)
|
|
const std::string switch_key = ToLowerASCII(switch_string);
|
|
+#if BUILDFLAG(IS_WIN)
|
|
StringType combined_switch_string(UTF8ToWide(switch_key));
|
|
#elif BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
|
|
- StringPiece switch_key = switch_string;
|
|
StringType combined_switch_string(switch_key);
|
|
#endif
|
|
size_t prefix_length = GetSwitchPrefixLength(combined_switch_string);
|