From 729b0f550852aa39456e3a02835000ad655c5bc8 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Wed, 27 Jul 2022 11:42:45 +0200 Subject: [PATCH] fix: allow setsize to be called within a move or resize for preventDefault (#35083) 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 63070c633724a..51ccfef8c689f 100644 --- a/shell/browser/native_window_views.cc +++ b/shell/browser/native_window_views.cc @@ -729,7 +729,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