[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
rjw
rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:43:29 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 795ecf518fd98377d9dabb18f13659b52c39e33b
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu May 29 22:37:02 2003 +0000
Fixed 3273115. Always use pixel dimensions,
not absolute dimensions.
Reviewed by Ken.
* WebCoreSupport.subproj/WebImageRenderer.m:
(-[WebImageRenderer incrementalLoadWithBytes:length:complete:]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 2bf21f3..8fd1567 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,4 +1,14 @@
2003-05-29 Richard Williamson <rjw at apple.com>
+
+ Fixed 3273115. Always use pixel dimensions,
+ not absolute dimensions.
+
+ Reviewed by Ken.
+
+ * WebCoreSupport.subproj/WebImageRenderer.m:
+ (-[WebImageRenderer incrementalLoadWithBytes:length:complete:]):
+
+2003-05-29 Richard Williamson <rjw at apple.com>
Fix 3272292. Ensure that loadStatus is always
initialized to NSImageRepLoadStatusUnknownType.
diff --git a/WebKit/WebCoreSupport.subproj/WebImageRenderer.m b/WebKit/WebCoreSupport.subproj/WebImageRenderer.m
index be7ca01..62d9dae 100644
--- a/WebKit/WebCoreSupport.subproj/WebImageRenderer.m
+++ b/WebKit/WebCoreSupport.subproj/WebImageRenderer.m
@@ -185,6 +185,10 @@ static NSMutableArray *activeImageRenderers;
size = NSMakeSize([imageRep pixelsWide], [imageRep pixelsHigh]);
[self setCacheMode: NSImageCacheDefault];
[imageRep setSize:size];
+
+ // Ignore any absolute size in the image and always use pixel dimensions.
+ [self setSize:size];
+
isNull = NO;
return YES;
default:
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list