diff --git a/shell/browser/native_browser_view_mac.mm b/shell/browser/native_browser_view_mac.mm index 747822058769..ce0e3ff8891b 100644 --- a/shell/browser/native_browser_view_mac.mm +++ b/shell/browser/native_browser_view_mac.mm @@ -317,8 +317,9 @@ void NativeBrowserViewMac::UpdateDraggableRegions( const auto window_content_view_height = NSHeight(window_content_view.bounds); for (const auto& rect : drag_exclude_rects) { const auto x = rect.x() + offset.x(); - const auto y = window_content_view_height - rect.bottom() + offset.y(); + const auto y = window_content_view_height - (rect.bottom() + offset.y()); const auto exclude_rect = NSMakeRect(x, y, rect.width(), rect.height()); + const auto drag_region_view_exclude_rect = [window_content_view convertRect:exclude_rect toView:drag_region_view];