[webkit-changes] cvs commit: WebKit/WebCoreSupport.subproj
WebImageRenderer.m
Darin
darin at opensource.apple.com
Sat Sep 10 10:36:10 PDT 2005
darin 05/09/10 10:36:09
Modified: . ChangeLog
WebCoreSupport.subproj WebImageRenderer.m
Log:
Reviewed and landed by Darin.
* WebCoreSupport.subproj/WebImageRenderer.m:
(-[WebImageRenderer drawImageInRect:fromRect:compositeOperator:context:]):
Removed unused local variable.
Revision Changes Path
1.3316 +8 -0 WebKit/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebKit/ChangeLog,v
retrieving revision 1.3315
retrieving revision 1.3316
diff -u -r1.3315 -r1.3316
--- ChangeLog 9 Sep 2005 22:14:40 -0000 1.3315
+++ ChangeLog 10 Sep 2005 17:36:07 -0000 1.3316
@@ -1,3 +1,11 @@
+2005-09-10 Ingmar J Stein <IngmarStein at gmail.com>
+
+ Reviewed and landed by Darin.
+
+ * WebCoreSupport.subproj/WebImageRenderer.m:
+ (-[WebImageRenderer drawImageInRect:fromRect:compositeOperator:context:]):
+ Removed unused local variable.
+
2005-09-09 Tim Omernick <tomernick at apple.com>
Reviewed by John Sullivan.
1.108 +3 -5 WebKit/WebCoreSupport.subproj/WebImageRenderer.m
Index: WebImageRenderer.m
===================================================================
RCS file: /cvs/root/WebKit/WebCoreSupport.subproj/WebImageRenderer.m,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- WebImageRenderer.m 27 Aug 2005 00:03:42 -0000 1.107
+++ WebImageRenderer.m 10 Sep 2005 17:36:09 -0000 1.108
@@ -166,19 +166,17 @@
{
if (aContext == 0)
aContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
-
- NSCompositingOperation op = (NSCompositingOperation)operator;
-
+
if (isSizeAdjusted) {
[imageData drawImageAtIndex:[imageData currentFrame] inRect:CGRectMake(ir.origin.x, ir.origin.y, ir.size.width, ir.size.height)
fromRect:CGRectMake(fr.origin.x, fr.origin.y, fr.size.width, fr.size.height)
adjustedSize:CGSizeMake(adjustedSize.width, adjustedSize.height)
- compositeOperation:op context:aContext];
+ compositeOperation:operator context:aContext];
}
else {
[imageData drawImageAtIndex:[imageData currentFrame] inRect:CGRectMake(ir.origin.x, ir.origin.y, ir.size.width, ir.size.height)
fromRect:CGRectMake(fr.origin.x, fr.origin.y, fr.size.width, fr.size.height)
- compositeOperation:op context:aContext];
+ compositeOperation:operator context:aContext];
}
targetAnimationRect = ir;
More information about the webkit-changes
mailing list