Fixed panther build problem.
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Feb 2005 01:33:07 +0000 (01:33 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Feb 2005 01:33:07 +0000 (01:33 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8690 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/WebCoreSupport.subproj/WebImageRenderer.m

index 55e927d057e7fc7fa4d936c1f38f389931486d1b..44d20fcc1e61d7af445fef70570d1f3a94507bce 100644 (file)
 - (CGImageRef)imageRef;
 
 + (void)stopAnimationsInView:(NSView *)aView;
+- (void)resetAnimation;
 
 - (void)startAnimationIfNecessary;
 - (NSGraphicsContext *)_beginRedirectContext:(CGContextRef)aContext;
@@ -964,7 +965,7 @@ static NSMutableSet *activeImageRenderers;
 - (void)resetAnimation
 {
     [self stopAnimation];
-    currentFrame = 0;
+    [self setCurrentFrame:0];
     repetitionsComplete = 0;
     animationFinished = NO;
 }