Changeset 84830 in webkit


Ignore:
Timestamp:
Apr 25, 2011 4:24:57 PM (13 years ago)
Author:
abarth@webkit.org
Message:

2011-04-25 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

HistoryItemMac should play nice with OwnPtrs
https://bugs.webkit.org/show_bug.cgi?id=59388

  • history/mac/HistoryItemMac.mm: (WebCore::HistoryItem::setTransientProperty):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84829 r84830  
     12011-04-25  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        HistoryItemMac should play nice with OwnPtrs
     6        https://bugs.webkit.org/show_bug.cgi?id=59388
     7
     8        * history/mac/HistoryItemMac.mm:
     9        (WebCore::HistoryItem::setTransientProperty):
     10
    1112011-04-25  David Levin  <levin@chromium.org>
    212
  • trunk/Source/WebCore/history/mac/HistoryItemMac.mm

    r65077 r84830  
    6060    } else {
    6161        if (!m_transientProperties)
    62             m_transientProperties.set(new HashMap<String, RetainPtr<id> >);
     62            m_transientProperties = adoptPtr(new HashMap<String, RetainPtr<id> >);
    6363        m_transientProperties->set(key, value);
    6464    }
Note: See TracChangeset for help on using the changeset viewer.