Update source files for bracket style

This commit is contained in:
Marshall Greenblatt
2023-01-02 17:59:03 -05:00
parent d84b07a5cb
commit 3af3eab3e4
366 changed files with 7275 additions and 3834 deletions

View File

@@ -15,8 +15,9 @@ bool CefMenuRunnerViews::RunContextMenu(
CefMenuModelImpl* model,
const content::ContextMenuParams& params) {
CefRefPtr<CefWindow> window = browser_view_->GetWindow();
if (!window)
if (!window) {
return false;
}
CefPoint screen_point(params.x, params.y);
browser_view_->ConvertPointToScreen(screen_point);
@@ -27,8 +28,9 @@ bool CefMenuRunnerViews::RunContextMenu(
void CefMenuRunnerViews::CancelContextMenu() {
CefRefPtr<CefWindow> window = browser_view_->GetWindow();
if (window)
if (window) {
window->CancelMenu();
}
}
bool CefMenuRunnerViews::FormatLabel(std::u16string& label) {