Fix for perf regression with single-processor windows machines on ibench.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Jun 2006 00:23:57 +0000 (00:23 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Jun 2006 00:23:57 +0000 (00:23 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14737 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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();
             }