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 0e513db03d740ecc6d42ab23db1240f497c686eb..2c9248a88f330405f257becfc03141e8b12c2c9f 100644 |
--- a/ui/views/win/hwnd_message_handler.cc |
+++ b/ui/views/win/hwnd_message_handler.cc |
@@ -815,9 +815,6 @@ void HWNDMessageHandler::FrameTypeChanged() { |
UINT flags = SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER; |
SetWindowPos(hwnd(), NULL, 0, 0, 0, 0, flags | SWP_HIDEWINDOW); |
SetWindowPos(hwnd(), NULL, 0, 0, 0, 0, flags | SWP_SHOWWINDOW); |
- // Invalidate the window to force a paint. There may be child windows which |
- // could resize in this context. Don't paint right away. |
- ::InvalidateRect(hwnd(), NULL, FALSE); |
} |
// WM_DWMCOMPOSITIONCHANGED is only sent to top level windows, however we want |