From ef30c403d67694be5484cc313c5db487645cf083 Mon Sep 17 00:00:00 2001 From: Ian German Mesner Date: Thu, 7 Jul 2022 16:54:35 -0400 Subject: [PATCH] fix: #34599 allow setsize to be called within a move or resize for preventDefault --- 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