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

Changeset 179835 in webkit


Ignore:
Timestamp:
Feb 9, 2015, 10:26:07 AM (12 years ago)
Author:
bshafiei@apple.com
Message:

Merged r179809. rdar://problem/19711203

Location:
branches/safari-600.5-branch/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-600.5-branch/Source/WebKit2/ChangeLog

    r179632 r179835  
     12015-02-09  Babak Shafiei  <bshafiei@apple.com>
     2
     3        Merge r179809.
     4
     5    2015-02-08  Timothy Horton  <timothy_horton@apple.com>
     6
     7            Null deref in _clearImmediateActionState when closing a view with a DataDetectors popover open
     8            https://bugs.webkit.org/show_bug.cgi?id=141377
     9            <rdar://problem/19711203>
     10
     11            Reviewed by Darin Adler.
     12
     13            * UIProcess/mac/WKImmediateActionController.mm:
     14            (-[WKImmediateActionController _clearImmediateActionState]):
     15            We can have already detached the page when DataDetectors calls us back
     16            in interactionStoppedHandler. While we have kept a strong reference to the
     17            page in the interactionStoppedHandler block, _page is nulled out.
     18            It's OK to avoid doing this work, in any case, because closing a page
     19            tears down the TextIndicator anyway.
     20
    1212015-02-02  Matthew Hanson  <matthew_hanson@apple.com>
    222
  • branches/safari-600.5-branch/Source/WebKit2/UIProcess/mac/WKImmediateActionController.mm

    r179272 r179835  
    116116- (void)_clearImmediateActionState
    117117{
    118     _page->clearTextIndicator();
     118    if (_page)
     119        _page->clearTextIndicator();
    119120
    120121    if (_currentActionContext && _hasActivatedActionContext) {
Note: See TracChangeset for help on using the changeset viewer.