Reviewed by timo, ggaren.
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Sep 2006 00:25:14 +0000 (00:25 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Sep 2006 00:25:14 +0000 (00:25 +0000)
commitd80c65f00abfbff7a82c634769daf33173723236
tree0bd9129ff542dd07630bd2b6a1a0f2b2061bcb71
parent6b0d70845a051ae812a3d4afeda1b0c52dc810bf
    Reviewed by timo, ggaren.

        Make Icon ref-counted.

        * platform/FileChooser.h: Store m_icon as a RefPtr instead of
        auto_ptr.
        * platform/Icon.h: Inherit from Shared<Icon>
        * platform/mac/FileChooserMac.mm:
        (WebCore::FileChooser::chooseFile): Update m_icon usage
        * platform/mac/IconMac.mm:
        (WebCore::Icon::newIconForFile): Return a RefPtr instead of an
        auto_ptr

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/FileChooser.h
WebCore/platform/Icon.h
WebCore/platform/mac/FileChooserMac.mm
WebCore/platform/mac/IconMac.mm