mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 91.0.4472.0 (#870763)
This commit is contained in:
@ -37,8 +37,8 @@ void CefMenuRunnerLinux::CancelContextMenu() {
|
||||
menu_->Cancel();
|
||||
}
|
||||
|
||||
bool CefMenuRunnerLinux::FormatLabel(base::string16& label) {
|
||||
bool CefMenuRunnerLinux::FormatLabel(std::u16string& label) {
|
||||
// Remove the accelerator indicator (&) from label strings.
|
||||
const base::string16::value_type replace[] = {L'&', 0};
|
||||
return base::ReplaceChars(label, replace, base::string16(), &label);
|
||||
const std::u16string::value_type replace[] = {u'&', 0};
|
||||
return base::ReplaceChars(label, replace, std::u16string(), &label);
|
||||
}
|
||||
|
Reference in New Issue
Block a user