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

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:53:28 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 8daf7a94ea332a42e6d27cba2aafbc22972200fe
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Aug 22 04:21:33 2003 +0000

            * WebView.subproj/WebHTMLView.m: (-[WebHTMLView _setPrinting:pageWidth:adjustViewSize:]):
            Tweak to printing fix: Be sure to call adjustViewSize after applying styles and doing layout.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4877 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 1d211bd..a107f34 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-21  Darin Adler  <darin at apple.com>
+
+        * WebView.subproj/WebHTMLView.m: (-[WebHTMLView _setPrinting:pageWidth:adjustViewSize:]):
+        Tweak to printing fix: Be sure to call adjustViewSize after applying styles and doing layout.
+
 2003-08-21  Richard Williamson   <rjw at apple.com>
 
 	Fixed 3378810.  Avoid resizing frame from drawRect: when printing.  This will corrupt the graphics context.
diff --git a/WebKit/WebView.subproj/WebHTMLView.m b/WebKit/WebView.subproj/WebHTMLView.m
index 007eb82..aba5810 100644
--- a/WebKit/WebView.subproj/WebHTMLView.m
+++ b/WebKit/WebView.subproj/WebHTMLView.m
@@ -25,7 +25,6 @@
 #import <WebKit/WebViewPrivate.h>
 
 #import <AppKit/NSResponder_Private.h>
-#import <CoreGraphics/CGContextPrivate.h>
 #import <CoreGraphics/CGContextGState.h>
 
 @interface WebHTMLView (WebHTMLViewPrivate)
@@ -890,16 +889,15 @@
         }
     }
 
-    if (adjustViewSize){
-        [[self _bridge] adjustViewSize];
-    }
-    
     if (printing != _private->printing) {
         _private->printing = printing;
         [self setNeedsToApplyStyles:YES];
         [self setNeedsLayout:YES];
         [self layoutToPageWidth:pageWidth];
         [self setNeedsDisplay:NO];
+        if (adjustViewSize) {
+            [[self _bridge] adjustViewSize];
+        }
     }
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list