Changeset 84808 in webkit


Ignore:
Timestamp:
Apr 25, 2011 3:38:14 PM (13 years ago)
Author:
abarth@webkit.org
Message:

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

Reviewed by David Levin.

Fix strict OwnPtr in Element.cpp
https://bugs.webkit.org/show_bug.cgi?id=59357

  • dom/NodeRareData.h: (WebCore::NodeRareData::ensureEventTargetData):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84806 r84808  
     12011-04-25  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by David Levin.
     4
     5        Fix strict OwnPtr in Element.cpp
     6        https://bugs.webkit.org/show_bug.cgi?id=59357
     7
     8        * dom/NodeRareData.h:
     9        (WebCore::NodeRareData::ensureEventTargetData):
     10
    1112011-04-25  Adam Barth  <abarth@webkit.org>
    212
  • trunk/Source/WebCore/dom/NodeRareData.h

    r84693 r84808  
    121121    {
    122122        if (!m_eventTargetData)
    123             m_eventTargetData.set(new EventTargetData);
     123            m_eventTargetData = adoptPtr(new EventTargetData);
    124124        return m_eventTargetData.get();
    125125    }
Note: See TracChangeset for help on using the changeset viewer.