Reviewed by Chris.
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Nov 2004 01:11:15 +0000 (01:11 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Nov 2004 01:11:15 +0000 (01:11 +0000)
commitbd9f8fb2cc0ccc4f2657f8a34624cab4cc502f02
treef08d8574c2475d1f88476dc9f4f937e598d0c148
parent37aaf163f027651010223196b0910bbb8f2150d4
    Reviewed by Chris.

Work-around to minimize impact of 3876764.  Cache frame durations
after first call.  So we'll still leak 1K for each animated
image, but that's better than 1K each time the frame is drawn!
        * WebCoreSupport.subproj/WebImageData.h:
        * WebCoreSupport.subproj/WebImageData.m:
        (-[WebImageData _frameDuration]):

Simplified animation cleanup code.  Fixed leak due to
incorrect key passed to CFDictionaryRemoveValue.

        (+[WebImageData stopAnimationsInView:]):
        (-[WebImageData addAnimatingRenderer:inView:]):
        (-[WebImageData removeAnimatingRenderer:]):
        (-[WebImageData _stopAnimation]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebCoreSupport.subproj/WebImageData.h
WebKit/WebCoreSupport.subproj/WebImageData.m