Commit 5e2d3026 authored by paroga@webkit.org's avatar paroga@webkit.org
Browse files

2011-01-25 Patrick Gansterer <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WINCE] Ensure layouted frame when painting
        https://bugs.webkit.org/show_bug.cgi?id=53108

        * WebView.cpp:
        (WebView::paint):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 250c1b31
2011-01-25 Patrick Gansterer <paroga@webkit.org>
Reviewed by Adam Roben.
[WINCE] Ensure layouted frame when painting
https://bugs.webkit.org/show_bug.cgi?id=53108
* WebView.cpp:
(WebView::paint):
2011-01-04 Patrick Gansterer <paroga@webkit.org>
Unreviewed WinCE build fix.
......
......@@ -232,11 +232,17 @@ void WebView::stop()
void WebView::paint(HDC hDC, const IntRect& clipRect)
{
FrameView* frameView = view();
if (!frameView)
return;
OwnPtr<HRGN> clipRgn(CreateRectRgn(clipRect.x(), clipRect.y(), clipRect.right(), clipRect.bottom()));
SelectClipRgn(hDC, clipRgn.get());
frameView->updateLayoutAndStyleIfNeededRecursive();
GraphicsContext gc(hDC);
view()->paint(&gc, clipRect);
frameView->paint(&gc, clipRect);
}
bool WebView::handlePaint(HWND hWnd)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment