2006-03-06 Eric Seidel <eseidel@apple.com>
authoreseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Mar 2006 23:17:41 +0000 (23:17 +0000)
committereseidel <eseidel@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Mar 2006 23:17:41 +0000 (23:17 +0000)
        Reviewed by hyatt.

        * Spinneret/Spinneret/WebFrame.cpp:
        (WebKit::WebFrame::paint): force layout before painting

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13178 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Spinneret/Spinneret/WebFrame.cpp

index 568b95a83731c37fe6f8d47e55081df146e57fe6..422612da4da556da94cc061b36684face0474fda 100644 (file)
@@ -1,3 +1,10 @@
+2006-03-06  Eric Seidel  <eseidel@apple.com>
+
+        Reviewed by hyatt.
+
+        * Spinneret/Spinneret/WebFrame.cpp:
+        (WebKit::WebFrame::paint): force layout before painting
+
 2006-03-06  Justin Garcia  <justin.garcia@apple.com>
 
         Reviewed by darin
index 43ec5897cbd0e20dcc87451263fe9658c6225b6f..3d39d7beb41be381535ac90b22a41266b9a534f7 100755 (executable)
@@ -102,6 +102,8 @@ void WebFrame::loadHTMLString(char *html, char *baseURL)
 
 void WebFrame::paint()
 {
+    d->frameView->layout();
+
     PAINTSTRUCT ps;
     HDC hdc = BeginPaint(d->webView->windowHandle(), &ps);   
     cairo_surface_t* finalSurface = cairo_win32_surface_create(hdc);