Null deref in WebPage::dictionaryPopupInfoForRange
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 May 2017 04:53:15 +0000 (04:53 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 May 2017 04:53:15 +0000 (04:53 +0000)
commitf6e7e052b09fc87bc1b8f9eeae0cc1f5bb7bfe25
tree026e7e6c8a2409aaba42952cb76b97be50984b97
parent30b57368b3c0e7f34f847eb083709f9ce36cc1d7
Null deref in WebPage::dictionaryPopupInfoForRange
https://bugs.webkit.org/show_bug.cgi?id=171959
<rdar://problem/20886282>

Reviewed by Beth Dakin.

* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::dictionaryPopupInfoForRange):
Speculative fix for non-reproducible crash when the startContainer of
the range is in an anonymous node.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm