Title: [162665] trunk/Source/WebKit2
Revision
162665
Author
ander...@apple.com
Date
2014-01-23 17:15:11 -0800 (Thu, 23 Jan 2014)

Log Message

Fix a refactoring bug that crept in and is causing the inspector to crash.

* UIProcess/WebPolicyClient.cpp:
(WebKit::WebPolicyClient::decidePolicyForResponse):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (162664 => 162665)


--- trunk/Source/WebKit2/ChangeLog	2014-01-24 01:08:55 UTC (rev 162664)
+++ trunk/Source/WebKit2/ChangeLog	2014-01-24 01:15:11 UTC (rev 162665)
@@ -1,3 +1,10 @@
+2014-01-23  Anders Carlsson  <ander...@apple.com>
+
+        Fix a refactoring bug that crept in and is causing the inspector to crash.
+
+        * UIProcess/WebPolicyClient.cpp:
+        (WebKit::WebPolicyClient::decidePolicyForResponse):
+
 2014-01-23  Simon Fraser  <simon.fra...@apple.com>
 
         Make visibleContentRect() return actualVisibleContentRect() on iOS most of the time

Modified: trunk/Source/WebKit2/UIProcess/WebPolicyClient.cpp (162664 => 162665)


--- trunk/Source/WebKit2/UIProcess/WebPolicyClient.cpp	2014-01-24 01:08:55 UTC (rev 162664)
+++ trunk/Source/WebKit2/UIProcess/WebPolicyClient.cpp	2014-01-24 01:15:11 UTC (rev 162665)
@@ -72,7 +72,7 @@
 
 void WebPolicyClient::decidePolicyForResponse(WebPageProxy* page, WebFrameProxy* frame, const ResourceResponse& resourceResponse, const ResourceRequest& resourceRequest, bool canShowMIMEType, WebFramePolicyListenerProxy* listener, API::Object* userData)
 {
-    if (m_client.decidePolicyForResponse_deprecatedForUseWithV0 && !m_client.decidePolicyForResponse) {
+    if (!m_client.decidePolicyForResponse_deprecatedForUseWithV0 && !m_client.decidePolicyForResponse) {
         listener->use();
         return;
     }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to