Changeset 146603 in webkit


Ignore:
Timestamp:
Mar 22, 2013 6:53:37 AM (11 years ago)
Author:
ddkilzer@apple.com
Message:

Revert "BUILD FIX (r146558): Call [super dealloc] from -[TinyDOMNode dealloc]"

This fixes a build failure introduced by this change:

Source/JavaScriptCore/API/tests/testapi.mm:206:6: error: ARC forbids explicit message send of 'dealloc'

[super dealloc];

~

1 error generated.

Not sure why this didn't fail locally on my Mac Pro.

  • API/tests/testapi.mm:

(-[TinyDOMNode dealloc]): Remove call to [super dealloc].

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

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

    r146599 r146603  
    203203    while ((nextChild = [enumerator nextObject]))
    204204        [[TinyDOMNode sharedVirtualMachine] removeManagedReference:nextChild withOwner:self];
    205 
    206     [super dealloc];
    207205}
    208206
  • trunk/Source/JavaScriptCore/ChangeLog

    r146599 r146603  
     12013-03-22  David Kilzer  <ddkilzer@apple.com>
     2
     3        Revert "BUILD FIX (r146558): Call [super dealloc] from -[TinyDOMNode dealloc]"
     4
     5        This fixes a build failure introduced by this change:
     6
     7            Source/JavaScriptCore/API/tests/testapi.mm:206:6: error: ARC forbids explicit message send of 'dealloc'
     8                [super dealloc];
     9                 ^     ~~~~~~~
     10            1 error generated.
     11
     12        Not sure why this didn't fail locally on my Mac Pro.
     13
     14        * API/tests/testapi.mm:
     15        (-[TinyDOMNode dealloc]): Remove call to [super dealloc].
     16
    1172013-03-22  David Kilzer  <ddkilzer@apple.com>
    218
Note: See TracChangeset for help on using the changeset viewer.