Changeset 179809 in webkit
- Timestamp:
- Feb 8, 2015, 4:30:46 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/mac/WKImmediateActionController.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r179804 r179809 1 2015-02-08 Timothy Horton <timothy_horton@apple.com> 2 3 Null deref in _clearImmediateActionState when closing a view with a DataDetectors popover open 4 https://bugs.webkit.org/show_bug.cgi?id=141377 5 <rdar://problem/19711203> 6 7 Reviewed by Darin Adler. 8 9 * UIProcess/mac/WKImmediateActionController.mm: 10 (-[WKImmediateActionController _clearImmediateActionState]): 11 We can have already detached the page when DataDetectors calls us back 12 in interactionStoppedHandler. While we have kept a strong reference to the 13 page in the interactionStoppedHandler block, _page is nulled out. 14 It's OK to avoid doing this work, in any case, because closing a page 15 tears down the TextIndicator anyway. 16 1 17 2015-02-08 Chris Dumez <cdumez@apple.com> 2 18 -
trunk/Source/WebKit2/UIProcess/mac/WKImmediateActionController.mm
r179195 r179809 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.