fix: NativeWindowViews::GetRestoredState() can return wrong state when maximized (#46450)

fix: NativeWindowViews::GetRestoredState() returning wrong state

Introduced by the af58931 Chromium 131.0.6744.0 roll, specifically
9840662 (diff-f9d7ef7)

98406626
This commit is contained in:
Charles Kerr 2025-04-03 08:55:04 -05:00 committed by GitHub
parent f48680a983
commit 0ff98810ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1839,7 +1839,7 @@ ui::mojom::WindowShowState NativeWindowViews::GetRestoredState() {
return ui::mojom::WindowShowState::kMaximized;
}
#else
return ui::mojom::WindowShowState::kMinimized;
return ui::mojom::WindowShowState::kMaximized;
#endif
}