Changeset 84828 in webkit


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

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

Reviewed by Darin Adler.

CheckedRadioButton should play nice with strict OwnPtr
https://bugs.webkit.org/show_bug.cgi?id=59386

  • dom/CheckedRadioButtons.cpp: (WebCore::CheckedRadioButtons::addButton):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84827 r84828  
     12011-04-25  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        CheckedRadioButton should play nice with strict OwnPtr
     6        https://bugs.webkit.org/show_bug.cgi?id=59386
     7
     8        * dom/CheckedRadioButtons.cpp:
     9        (WebCore::CheckedRadioButtons::addButton):
     10
    1112011-04-25  Adam Barth  <abarth@webkit.org>
    212
  • trunk/Source/WebCore/dom/CheckedRadioButtons.cpp

    r80811 r84828  
    4343
    4444    if (!m_nameToCheckedRadioButtonMap)
    45         m_nameToCheckedRadioButtonMap.set(new NameToInputMap);
     45        m_nameToCheckedRadioButtonMap = adoptPtr(new NameToInputMap);
    4646
    4747    pair<NameToInputMap::iterator, bool> result = m_nameToCheckedRadioButtonMap->add(element->name().impl(), inputElement);
Note: See TracChangeset for help on using the changeset viewer.