-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=67077 Reviewed by Nate Chapin. Document::loader can return 0 for a number of reasons. Call sites need to null check the result, like we do for Document::frame. I suspect some of these are real crashes, along the lines of http://trac.webkit.org/changeset/93692, but null checking this function is just good practice. * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): * src/WebSearchableFormData.cpp: (HTMLNames::GetFormEncoding): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::pageEncoding): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2d3e53be