Changeset 246448 in webkit


Ignore:
Timestamp:
Jun 14, 2019 3:52:24 PM (5 years ago)
Author:
Joseph Pecoraro
Message:

[Cocoa] NSFileWrapper associated with _WKAttachment
https://bugs.webkit.org/show_bug.cgi?id=198871
<rdar://problem/51760625>

Reviewed by Wenson Hsieh.

  • UIProcess/API/Cocoa/_WKAttachment.mm:

(-[_WKAttachment dealloc]):
Ensure we destruct the API::Object associated with this so RetainPtrs can release.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r246447 r246448  
     12019-06-14  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        [Cocoa] NSFileWrapper associated with _WKAttachment
     4        https://bugs.webkit.org/show_bug.cgi?id=198871
     5        <rdar://problem/51760625>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        * UIProcess/API/Cocoa/_WKAttachment.mm:
     10        (-[_WKAttachment dealloc]):
     11        Ensure we destruct the API::Object associated with this so RetainPtrs can release.
     12
    1132019-06-14  Tim Horton  <timothy_horton@apple.com>
    214
  • trunk/Source/WebKit/UIProcess/API/Cocoa/_WKAttachment.mm

    r242934 r246448  
    103103@implementation _WKAttachment
    104104
     105- (void)dealloc
     106{
     107    _attachment->~Attachment();
     108
     109    [super dealloc];
     110}
     111
    105112- (API::Object&)_apiObject
    106113{
Note: See TracChangeset for help on using the changeset viewer.