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 01b3f7dcc052c504227acdfc4665d051b0b245fa..c374289cd16c3f077f5e13c5f5d251761c2153ef 100644 |
--- a/ui/views/win/hwnd_message_handler.cc |
+++ b/ui/views/win/hwnd_message_handler.cc |
@@ -879,8 +879,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_POPUP | WS_CHILD)) |
return; |
LONG exstyle = GetWindowLong(hwnd(), GWL_EXSTYLE); |