Make kit(Frame*) more robust
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 May 2013 16:57:59 +0000 (16:57 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 May 2013 16:57:59 +0000 (16:57 +0000)
commit668595a516138dc84ed0f9ce2356729492e22600
tree8a4349106b8e4f89ce76a79463468e7976ceda09
parenteb1ce49e0ee1aafbf16f4649898018d66d7fdc23
Make kit(Frame*) more robust
https://bugs.webkit.org/show_bug.cgi?id=116324

Reviewed by Darin Adler.

Check that the frame loader's client isn't the EmptyFrameLoaderClient (or a subclass thereof)
before casting to WebFrameLoaderClient.

* WebView/WebFrame.mm:
(kit):

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