[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

paroga at webkit.org paroga at webkit.org
Sun Feb 20 23:50:52 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 5e2d30265e2f7fbfd118411d692aab96c6eaa6a7
Author: paroga at webkit.org <paroga at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jan 25 20:55:38 2011 +0000

    2011-01-25  Patrick Gansterer  <paroga at 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

diff --git a/Source/WebKit/wince/ChangeLog b/Source/WebKit/wince/ChangeLog
index f44bddf..87ca29e 100644
--- a/Source/WebKit/wince/ChangeLog
+++ b/Source/WebKit/wince/ChangeLog
@@ -1,3 +1,13 @@
+2011-01-25  Patrick Gansterer  <paroga at 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 at webkit.org>
 
         Unreviewed WinCE build fix.
diff --git a/Source/WebKit/wince/WebView.cpp b/Source/WebKit/wince/WebView.cpp
index ce90149..8674cd6 100644
--- a/Source/WebKit/wince/WebView.cpp
+++ b/Source/WebKit/wince/WebView.cpp
@@ -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)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list