⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 248357 in webkit


Ignore:
Timestamp:
Aug 6, 2019, 11:52:57 PM (7 years ago)
Author:
Kocsen Chung
Message:

Cherry-pick r248085. rdar://problem/54017902

WKImagePreviewViewController not being autoreleased
https://bugs.webkit.org/show_bug.cgi?id=200325
<rdar://problem/53788214>

Reviewed by Wenson Hsieh.

Wenson noticed I wasn't autoreleasing the WKImagePreviewViewController.

  • UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView continueContextMenuInteraction:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248085 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-608.1-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-608.1-branch/Source/WebKit/ChangeLog

    r248354 r248357  
     12019-08-06  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Cherry-pick r248085. rdar://problem/54017902
     4
     5    WKImagePreviewViewController not being autoreleased
     6    https://bugs.webkit.org/show_bug.cgi?id=200325
     7    <rdar://problem/53788214>
     8   
     9    Reviewed by Wenson Hsieh.
     10   
     11    Wenson noticed I wasn't autoreleasing the WKImagePreviewViewController.
     12   
     13    * UIProcess/ios/WKContentViewInteraction.mm:
     14    (-[WKContentView continueContextMenuInteraction:]):
     15   
     16    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     17
     18    2019-07-31  Dean Jackson  <dino@apple.com>
     19
     20            WKImagePreviewViewController not being autoreleased
     21            https://bugs.webkit.org/show_bug.cgi?id=200325
     22            <rdar://problem/53788214>
     23
     24            Reviewed by Wenson Hsieh.
     25
     26            Wenson noticed I wasn't autoreleasing the WKImagePreviewViewController.
     27
     28            * UIProcess/ios/WKContentViewInteraction.mm:
     29            (-[WKContentView continueContextMenuInteraction:]):
     30
    1312019-08-06  Kocsen Chung  <kocsen_chung@apple.com>
    232
  • branches/safari-608.1-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r248353 r248357  
    79767976                    return nil;
    79777977
    7978                 return [[WKImagePreviewViewController alloc] initWithCGImage:cgImage defaultActions:nil elementInfo:elementInfo.get()];
     7978                return [[[WKImagePreviewViewController alloc] initWithCGImage:cgImage defaultActions:nil elementInfo:elementInfo.get()] autorelease];
    79797979            };
    79807980
Note: See TracChangeset for help on using the changeset viewer.