Skip to content
  • ggaren's avatar
    Fix for 13084, assertion failure in the Cache. Convert the client list · d619ba92
    ggaren authored
            to a HashCountedSet so that multiple refs and derefs are allowed.
    
            Fix RenderImage so that if it has the same image used as a background/border
            and as the foreground that it will repaint properly (can be tested using
            border-image and a foreground image).
    
            Optimize list marker so that it doesn't waste time in the base class method,
            since list markers don't support background or border images.
    
            Reviewed by andersca
    
            * ChangeLog:
            * loader/CachedResource.cpp:
            (WebCore::CachedResource::ref):
            * loader/CachedResource.h:
            * loader/CachedResourceClientWalker.cpp:
            (WebCore::CachedResourceClientWalker::CachedResourceClientWalker):
            * loader/CachedResourceClientWalker.h:
            * rendering/RenderImage.cpp:
            (WebCore::RenderImage::imageChanged):
            * rendering/RenderListMarker.cpp:
            (WebCore::RenderListMarker::imageChanged):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d619ba92