Commit d647d51d authored by mitz@apple.com's avatar mitz@apple.com

Try to fix the EFL build.

* UIProcess/efl/PagePolicyClientEfl.cpp:
(WebKit::PagePolicyClientEfl::decidePolicyForResponseCallback): No need to call
WKFrameCanShowMIMEType now that this information is passed in as a parameter.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159388 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8f11b919
2013-11-17 Dan Bernstein <mitz@apple.com>
Try to fix the EFL build.
* UIProcess/efl/PagePolicyClientEfl.cpp:
(WebKit::PagePolicyClientEfl::decidePolicyForResponseCallback): No need to call
WKFrameCanShowMIMEType now that this information is passed in as a parameter.
2013-11-16 Dan Bernstein <mitz@apple.com>
No way for policy client to determine if a the response’s MIME type can be shown
......
......@@ -77,7 +77,6 @@ void PagePolicyClientEfl::decidePolicyForResponseCallback(WKPageRef, WKFrameRef
}
WKRetainPtr<WKStringRef> mimeType = adoptWK(WKURLResponseCopyMIMEType(response));
bool canShowMIMEType = WKFrameCanShowMIMEType(frame, mimeType.get());
if (WKFrameIsMainFrame(frame)) {
if (canShowMIMEType) {
WKFramePolicyListenerUse(listener);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment