]> git.saurik.com Git - wxWidgets.git/commit
Don't crash in wxWebView under OS X if custom URI is invalid.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 14 Jun 2013 13:10:04 +0000 (13:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 14 Jun 2013 13:10:04 +0000 (13:10 +0000)
commitc02aa4b3a1cb95dce9232adc99876567085e6aff
tree433563f811728d46df2d954463dd0e2c4b251dd0
parent789e9abb4527c87ff4503f252c925d247b2480a1
Don't crash in wxWebView under OS X if custom URI is invalid.

Don't assume that wxWebViewHandler::GetFile() always returns a valid pointer,
it may fail and return NULL, e.g. for a non-existent VFS location.

Closes #15254.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/webview_webkit.mm