Reviewed by Anders.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Oct 2006 10:34:24 +0000 (10:34 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Oct 2006 10:34:24 +0000 (10:34 +0000)
commitdc521351f8c3892c9daa36b1d4d73bc1c7105836
tree297303fad2eb5c024ffc122334048af735b275ff
parent955c5192be116ace7dee1802c492d354a9377516
    Reviewed by Anders.

        - .5% speed improvement by avoiding excess CFURLRef allocation

        * loader/CachedResource.cpp:
        (WebCore::CachedResource::getCFURL): New method. For Mac only (for now), cache the CFURL
        here for later reuse.
        * loader/CachedResource.h:
        * loader/mac/LoaderFunctionsMac.mm:
        (WebCore::CheckCacheObjectStatus): Use the cached CFURL, don't make a whole new one.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/loader/CachedResource.cpp
WebCore/loader/CachedResource.h
WebCore/loader/mac/LoaderFunctionsMac.mm