Skip to content
  • oliver's avatar
    2007-05-18 Oliver Hunt <oliver@apple.com> · 1be0bf39
    oliver authored
            Reviewed by Sam.
    
            Fix for <rdar://problem/5211122> DRT crash below
            SVGTimer::applyAnimations when page cache is enabled 
            (SVG animation timers do not properly cancel themselves)
    
            There were still a few paths in the SVG Animation code
            that could cause timers to be created and used.  This 
            patch inserts addition SVG_EXPERIMENTAL blocks to prevent
            these timers from being used.
    
            * ksvg2/misc/SVGDocumentExtensions.cpp:
            (WebCore::SVGDocumentExtensions::startAnimations):
            * ksvg2/misc/SVGTimer.cpp:
            (WebCore::SVGTimer::animationsByElement):
            (WebCore::SVGTimer::applyAnimations):
            (WebCore::SVGTimer::notifyAll):
            (WebCore::SVGTimer::addNotify):
            (WebCore::SVGTimer::removeNotify):
            * ksvg2/misc/TimeScheduler.cpp:
            (WebCore::TimeScheduler::addTimer):
            (WebCore::TimeScheduler::connectIntervalTimer):
            (WebCore::TimeScheduler::disconnectIntervalTimer):
            (WebCore::TimeScheduler::startAnimations):
            (WebCore::TimeScheduler::toggleAnimations):
            (WebCore::TimeScheduler::timerFired):
            * ksvg2/svg/SVGAnimationElement.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1be0bf39