chore: bump chromium to 106.0.5216.0 (main) (#34993)
This commit is contained in:
parent
e15e66f229
commit
97b353a30a
114 changed files with 886 additions and 779 deletions
|
@ -71,8 +71,8 @@ bool StringToAccelerator(const std::string& shortcut,
|
|||
|
||||
void GenerateAcceleratorTable(AcceleratorTable* table,
|
||||
electron::ElectronMenuModel* model) {
|
||||
int count = model->GetItemCount();
|
||||
for (int i = 0; i < count; ++i) {
|
||||
size_t count = model->GetItemCount();
|
||||
for (size_t i = 0; i < count; ++i) {
|
||||
electron::ElectronMenuModel::ItemType type = model->GetTypeAt(i);
|
||||
if (type == electron::ElectronMenuModel::TYPE_SUBMENU) {
|
||||
auto* submodel = model->GetSubmenuModelAt(i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue