chore: bump chromium to 106.0.5216.0 (main) (#34993)

This commit is contained in:
electron-roller[bot] 2022-08-17 11:35:53 -07:00 committed by GitHub
parent e15e66f229
commit 97b353a30a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
114 changed files with 886 additions and 779 deletions

View file

@ -150,7 +150,7 @@ void ExecuteCommand(ui::MenuModel* model, int id) {
if (event && event->type == GDK_BUTTON_RELEASE)
event_flags = EventFlagsFromGdkState(event->button.state);
model->ActivatedAt(id, event_flags);
model->ActivatedAt(static_cast<int>(id), event_flags);
if (event)
gdk_event_free(event);
@ -163,7 +163,7 @@ void BuildSubmenuFromModel(ui::MenuModel* model,
void* this_ptr) {
std::map<int, GtkWidget*> radio_groups;
GtkWidget* menu_item = nullptr;
for (int i = 0; i < model->GetItemCount(); ++i) {
for (size_t i = 0; i < model->GetItemCount(); ++i) {
std::string label = ui::ConvertAcceleratorsFromWindowsStyle(
base::UTF16ToUTF8(model->GetLabelAt(i)));