Changeset 179834 in webkit
- Timestamp:
- Feb 9, 2015, 10:24:23 AM (12 years ago)
- Location:
- branches/safari-600.4-branch/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/mac/WKImmediateActionController.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-600.4-branch/Source/WebKit2/ChangeLog
r179352 r179834 1 2015-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 1 21 2015-01-29 Matthew Hanson <matthew_hanson@apple.com> 2 22 -
branches/safari-600.4-branch/Source/WebKit2/UIProcess/mac/WKImmediateActionController.mm
r179226 r179834 116 116 - (void)_clearImmediateActionState 117 117 { 118 _page->clearTextIndicator(); 118 if (_page) 119 _page->clearTextIndicator(); 119 120 120 121 if (_currentActionContext && _hasActivatedActionContext) {
Note:
See TracChangeset
for help on using the changeset viewer.