Changeset 29415 in webkit
- Timestamp:
- Jan 11, 2008 12:50:52 PM (16 years ago)
- Location:
- trunk/WebKit/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/win/ChangeLog
r29401 r29415 1 2008-01-11 Adam Roben <aroben@apple.com> 2 3 Fix Bug 16828: WebView never paints if first page load is canceled after being committed but before layout 4 5 <http://bugs.webkit.org/show_bug.cgi?id=16828> 6 <rdar://5682402> 7 8 Now that we have 1) a real loader and 2) multiple FrameViews per 9 Frame, we no longer need the hackery we had in our WM_PAINT handler 10 that decided whether or not to paint. We now always want to paint, 11 letting the swapping of FrameViews that happens in 12 transitionToCommittedForNewPage handle which document gets painted. 13 14 Reviewed by Hyatt. 15 16 * WebView.cpp: 17 (WebViewWndProc): Removed hackery that decided sometimes not to paint. 18 1 19 2008-01-11 Mark Rowe <mrowe@apple.com> 2 20 -
trunk/WebKit/win/WebView.cpp
r29369 r29415 1585 1585 switch (message) { 1586 1586 case WM_PAINT: { 1587 COMPtr<IWebDataSource> dataSource; 1588 mainFrameImpl->dataSource(&dataSource); 1589 Frame* coreFrame = core(mainFrameImpl); 1590 if (!webView->isPainting() && (!dataSource || coreFrame && (coreFrame->view()->didFirstLayout() || !coreFrame->loader()->committedFirstRealDocumentLoad()))) 1591 webView->paint(0, 0); 1592 else 1593 ValidateRect(hWnd, 0); 1587 webView->paint(0, 0); 1594 1588 break; 1595 1589 }
Note: See TracChangeset
for help on using the changeset viewer.