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:
@ -64,7 +64,7 @@ class CefSimpleMenuModel : public ui::MenuModel {
|
||||
return impl_->GetCommandIdAt(index);
|
||||
}
|
||||
|
||||
base::string16 GetLabelAt(int index) const override {
|
||||
std::u16string GetLabelAt(int index) const override {
|
||||
return impl_->GetFormattedLabelAt(index);
|
||||
}
|
||||
|
||||
@ -886,8 +886,8 @@ void CefMenuModelImpl::MenuWillClose() {
|
||||
FROM_HERE, base::Bind(&CefMenuModelImpl::OnMenuClosed, this));
|
||||
}
|
||||
|
||||
base::string16 CefMenuModelImpl::GetFormattedLabelAt(int index) {
|
||||
base::string16 label = GetLabelAt(index).ToString16();
|
||||
std::u16string CefMenuModelImpl::GetFormattedLabelAt(int index) {
|
||||
std::u16string label = GetLabelAt(index).ToString16();
|
||||
if (delegate_)
|
||||
delegate_->FormatLabel(this, label);
|
||||
if (menu_model_delegate_) {
|
||||
|
Reference in New Issue
Block a user