Fix for perf regression with single-processor windows machines on ibench.
[WebKit-https.git] / WebKit / COM / WebView.cpp
index 0fafd4d92e025b9f0d6b370cc792ab609ebe828b..e03a85daa2a11eacd6487215ae6f045e73e4c775 100644 (file)
@@ -203,6 +203,8 @@ static LRESULT CALLBACK WebViewWndProc(HWND hWnd, UINT message, WPARAM wParam, L
                 mainFrameImpl->dataSource(&dataSource);
                 if (!dataSource || !mainFrameImpl->loading())
                     mainFrameImpl->paint();
+                else
+                    ValidateRect(hWnd, 0);
                 if (dataSource)
                     dataSource->Release();
             }