Reduce number of WebFrameLoaderClient static casts in WebKit
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 May 2013 15:55:20 +0000 (15:55 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 May 2013 15:55:20 +0000 (15:55 +0000)
commit4560614c16aa75d463cad83408df8323c05f7d0e
treee7f1de78db7680c414d767a2a40963560d205fe9
parent64d9a07e070ee4af3de79160d1d8a31bc9dd413f
Reduce number of WebFrameLoaderClient static casts in WebKit
https://bugs.webkit.org/show_bug.cgi?id=116320

Reviewed by Antti Koivisto.

We already have a function to return a WebFrame from a WebCore::Frame, use it.

* DOM/WebDOMOperations.mm:
(WebFrameFilter::shouldIncludeSubframe):
* WebView/WebDataSource.mm:
(-[WebDataSource webFrame]):

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