Skip to content
  • hyatt's avatar
    Fix Radar 5050688. · afd75ab0
    hyatt authored
            For large animated GIFs, destroy and recreate the source for every animation frame.  This keeps
            the memory consumption down while giant images are animating.
    
            Reviewed by andersca
    
            * platform/graphics/BitmapImage.cpp:
            (WebCore::BitmapImage::BitmapImage):
            (WebCore::BitmapImage::destroyDecodedData):
            (WebCore::BitmapImage::dataChanged):
            (WebCore::BitmapImage::advanceAnimation):
            * platform/graphics/BitmapImage.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    afd75ab0