mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-10 17:10:55 +01:00
Frame identifiers have changed from int64_t to string type. This is due to https://crbug.com/1502660 which removes access to frame routing IDs in the renderer process. New cross-process frame identifiers are 160-bit values (32-bit child process ID + 128-bit local frame token) and most easily represented as strings. All other frame-related expectations and behaviors remain the same.
18 lines
717 B
Diff
18 lines
717 B
Diff
diff --git base/command_line.cc base/command_line.cc
|
|
index 69e4303165259..682e8d2bfa6ce 100644
|
|
--- base/command_line.cc
|
|
+++ base/command_line.cc
|
|
@@ -355,11 +355,10 @@ void CommandLine::AppendSwitchNative(StringPiece switch_string,
|
|
#if BUILDFLAG(ENABLE_COMMANDLINE_SEQUENCE_CHECKS)
|
|
sequence_checker_.Check();
|
|
#endif
|
|
-#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);
|