diff --git a/shell/browser/native_window_views.cc b/shell/browser/native_window_views.cc index d989e7d88df2..0154e2ad7175 100644 --- a/shell/browser/native_window_views.cc +++ b/shell/browser/native_window_views.cc @@ -381,8 +381,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options, bool rounded_corner = true; options.Get(options::kRoundedCorners, &rounded_corner); - if (!rounded_corner) - SetRoundedCorners(false); + SetRoundedCorners(rounded_corner); } LONG ex_style = ::GetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE);