mirror of
https://github.com/openharmony/third_party_cef.git
synced 2026-07-20 20:15:43 -04:00
c830a900c6
Description:升级CEF 4844版本 Sig: SIG_ApplicationFramework Feature or Bugfix: Feature Binary Source: No Signed-off-by: wuliubao <ahjxliubao@163.com>
18 lines
769 B
Diff
18 lines
769 B
Diff
diff --git base/command_line.cc base/command_line.cc
|
|
index 8f26e95cc6c57..141eea233470a 100644
|
|
--- base/command_line.cc
|
|
+++ base/command_line.cc
|
|
@@ -337,11 +337,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);
|