Changeset 146688 in webkit


Ignore:
Timestamp:
Mar 22, 2013 5:21:22 PM (11 years ago)
Author:
mhahnenberg@apple.com
Message:

-[TinyDOMNode dealloc] should call [super dealloc] when ARC is not enabled
https://bugs.webkit.org/show_bug.cgi?id=113054

Reviewed by Geoffrey Garen.

  • API/tests/testapi.mm:

(-[TinyDOMNode dealloc]):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/API/tests/testapi.mm

    r146682 r146688  
    203203    while ((nextChild = [enumerator nextObject]))
    204204        [[TinyDOMNode sharedVirtualMachine] removeManagedReference:nextChild withOwner:self];
     205
     206#if !__has_feature(objc_arc)
     207    [super dealloc];
     208#endif
    205209}
    206210
  • trunk/Source/JavaScriptCore/ChangeLog

    r146682 r146688  
     12013-03-22  Mark Hahnenberg  <mhahnenberg@apple.com>
     2
     3        -[TinyDOMNode dealloc] should call [super dealloc] when ARC is not enabled
     4        https://bugs.webkit.org/show_bug.cgi?id=113054
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        * API/tests/testapi.mm:
     9        (-[TinyDOMNode dealloc]):
     10
    1112013-03-22  Mark Hahnenberg  <mhahnenberg@apple.com>
    212
Note: See TracChangeset for help on using the changeset viewer.