Fix clang-tidy warnings (see #3632)

This commit is contained in:
Marshall Greenblatt
2024-01-21 14:18:09 -05:00
parent a02d2ab3e6
commit a0446a3c8a
5 changed files with 8 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ class CefContextMenuObserver : public RenderViewContextMenuObserver,
const_cast<content::ContextMenuParams*>(&context_menu_->params()));
model_ = new CefSimpleMenuModelImpl(
const_cast<ui::SimpleMenuModel*>(&context_menu_->menu_model()),
context_menu_, this, /*is_owned=*/false, /*is_popup=*/false);
context_menu_, this, /*is_owned=*/false, /*is_submenu=*/false);
handler_->OnBeforeContextMenu(browser_, GetFrame(), params_, model_);
}