[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

trey trey at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:34:12 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 6a4845231693928bec0930b53a7ed36bd2861c7a
Author: trey <trey at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Apr 4 06:20:13 2003 +0000

    	3218212 REGRESSION: page on screen draws ugly while printing is happening
    
    	Turn autodisplay of the window off while we print.
    
            Reviewed by Darin.
    
            * WebView.subproj/WebHTMLView.m:
            (-[WebHTMLView beginDocument]):  Turn it off.
            (-[WebHTMLView endDocument]):  and back on.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4020 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index c35971a..607ef0e 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,15 @@
+2003-04-03  Trey Matteson  <trey at apple.com>
+
+	3218212 REGRESSION: page on screen draws ugly while printing is happening
+
+	Turn autodisplay of the window off while we print.
+
+        Reviewed by Darin.
+
+        * WebView.subproj/WebHTMLView.m:
+        (-[WebHTMLView beginDocument]):  Turn it off.
+        (-[WebHTMLView endDocument]):  and back on.
+
 2003-04-03  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by Trey.
diff --git a/WebKit/WebView.subproj/WebHTMLView.m b/WebKit/WebView.subproj/WebHTMLView.m
index ca1214d..e49cad5 100644
--- a/WebKit/WebView.subproj/WebHTMLView.m
+++ b/WebKit/WebView.subproj/WebHTMLView.m
@@ -800,6 +800,7 @@
     // Must do this explicit display here, because otherwise the view might redisplay while the print
     // sheet was up, using printer fonts (and looking different).
     [self displayIfNeeded];
+    [[self window] setAutodisplay:NO];
     [self _setPrinting:YES];
     [super beginDocument];
     // There is a theoretical chance that someone could do some drawing between here and endDocument,
@@ -811,6 +812,7 @@
 {
     [super endDocument];
     [self _setPrinting:NO];
+    [[self window] setAutodisplay:YES];
 }
 
 @end

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list