Changeset 84891 in webkit


Ignore:
Timestamp:
Apr 26, 2011 12:30:16 AM (13 years ago)
Author:
abarth@webkit.org
Message:

2011-04-26 Adam Klein <adamk@chromium.org>

Reviewed by Adam Barth.

Fix last strict OwnPtr violation under svg/...
https://bugs.webkit.org/show_bug.cgi?id=59429

  • svg/SVGDocumentExtensions.cpp: (WebCore::SVGDocumentExtensions::removePendingResource):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84890 r84891  
     12011-04-26  Adam Klein  <adamk@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Fix last strict OwnPtr violation under svg/...
     6        https://bugs.webkit.org/show_bug.cgi?id=59429
     7
     8        * svg/SVGDocumentExtensions.cpp:
     9        (WebCore::SVGDocumentExtensions::removePendingResource):
     10
    1112011-04-26  Adam Barth  <abarth@webkit.org>
    212
  • trunk/Source/WebCore/svg/SVGDocumentExtensions.cpp

    r84881 r84891  
    2222#include "config.h"
    2323
    24 // FIXME: Remove this define!
    25 #define LOOSE_OWN_PTR
    26 
    2724#if ENABLE(SVG)
    2825#include "SVGDocumentExtensions.h"
     
    244241    ASSERT(m_pendingResources.contains(id));
    245242
    246     OwnPtr<SVGPendingElements> set(m_pendingResources.get(id));
     243    OwnPtr<SVGPendingElements> set = adoptPtr(m_pendingResources.get(id));
    247244    m_pendingResources.remove(id);
    248245    return set.release();
Note: See TracChangeset for help on using the changeset viewer.