Fix <https://bugs.webkit.org/show_bug.cgi?id=23414>.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Jan 2009 02:31:36 +0000 (02:31 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Jan 2009 02:31:36 +0000 (02:31 +0000)
commitcaee31087cbd27c49fbbad8986666c823f3c28c8
tree805663194fda582c82530c06dd78da3b6158baf1
parent5b9649858aecd444a12a555bd87e0f912322b7c1
Fix <https://bugs.webkit.org/show_bug.cgi?id=23414>.
Bug 23414: Reproducible crash accessing View menu with plugins disabled

Reviewed by Anders Carlsson.

* WebView/WebFrame.mm:
(-[WebFrame _canProvideDocumentSource]): Null-check the PluginData before using it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/mac/ChangeLog
WebKit/mac/WebView/WebFrame.mm