From b990bd6c970c8f17449f7d1a8b976624337cb49b Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Wed, 3 Aug 2022 11:54:58 +0200 Subject: [PATCH] fix: allow setsize to be called within a move or resize for preventDefault (#35082) fix: #34599 allow setsize to be called within a move or resize for preventDefault Co-authored-by: Ian German Mesner --- shell/browser/native_window_views.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/browser/native_window_views.cc b/shell/browser/native_window_views.cc index 16e352bc16f37..e6a1b5568e7eb 100644 --- a/shell/browser/native_window_views.cc +++ b/shell/browser/native_window_views.cc @@ -728,7 +728,6 @@ void NativeWindowViews::SetBounds(const gfx::Rect& bounds, bool animate) { #if BUILDFLAG(IS_WIN) if (is_moving_ || is_resizing_) { pending_bounds_change_ = bounds; - return; } #endif