Index: ui/views/win/hwnd_message_handler.cc |
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc |
index fe562a7c904c9d74739fc01d28174c360a6028e0..08e337f7ac4cf8cce5cd45de4a948a6f377faef0 100644 |
--- a/ui/views/win/hwnd_message_handler.cc |
+++ b/ui/views/win/hwnd_message_handler.cc |
@@ -871,8 +871,7 @@ void HWNDMessageHandler::SetFullscreen(bool fullscreen) { |
void HWNDMessageHandler::SizeConstraintsChanged() { |
LONG style = GetWindowLong(hwnd(), GWL_STYLE); |
// Ignore if this is not a standard window. |
- // WS_OVERLAPPED is just the *absence* of WS_POPUP and WS_CHILD. |
- if ((style & (WS_POPUP | WS_CHILD)) == WS_OVERLAPPED) |
+ if (!(style & WS_OVERLAPPED)) |
return; |
if (delegate_->CanResize()) { |