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

@ -210,7 +210,7 @@ void Menu::Clear() {
}
int Menu::GetIndexOfCommandId(int command_id) const {
return model_->GetIndexOfCommandId(command_id);
return model_->GetIndexOfCommandId(command_id).value_or(-1);
}
int Menu::GetItemCount() const {