[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 08:44:40 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 6e4f87f532193f0e4d1c49c2a4a6f612e4402360
Author: trey <trey at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jun 9 00:37:52 2004 +0000

    Nit build fix for deployment build style.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6797 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/kwq/KWQKHTMLPart.mm b/WebCore/kwq/KWQKHTMLPart.mm
index d0c862c..3d2a213 100644
--- a/WebCore/kwq/KWQKHTMLPart.mm
+++ b/WebCore/kwq/KWQKHTMLPart.mm
@@ -2932,12 +2932,11 @@ NSImage *KWQKHTMLPart::imageFromRect(NSRect rect) const
         return nil;
     }
     
-    NSImage *resultImage = nil;
+    NSRect bounds = [view bounds];
+    NSImage *resultImage = [[[NSImage alloc] initWithSize:rect.size] autorelease];
     
     KWQ_BLOCK_EXCEPTIONS;
     
-    NSRect bounds = [view bounds];
-    resultImage = [[[NSImage alloc] initWithSize:rect.size] autorelease];
     [resultImage setFlipped:YES];
     [resultImage lockFocus];
     

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list