Title: [158504] trunk/Source/WebCore
Revision
158504
Author
par...@webkit.org
Date
2013-11-02 15:17:03 -0700 (Sat, 02 Nov 2013)

Log Message

Fix compilation of SynchronousLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=123676

Reviewed by Darin Adler.

Assign a ResourceRequest varibale an empty ResourceRequest instead of 0.
The current solution only works for ports which can create a
ResourceRequest from a pointer, which might not be true for all ports.

* platform/network/SynchronousLoaderClient.cpp:
(WebCore::SynchronousLoaderClient::willSendRequest):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (158503 => 158504)


--- trunk/Source/WebCore/ChangeLog	2013-11-02 21:59:57 UTC (rev 158503)
+++ trunk/Source/WebCore/ChangeLog	2013-11-02 22:17:03 UTC (rev 158504)
@@ -1,5 +1,19 @@
 2013-11-02  Patrick Gansterer  <par...@webkit.org>
 
+        Fix compilation of SynchronousLoaderClient
+        https://bugs.webkit.org/show_bug.cgi?id=123676
+
+        Reviewed by Darin Adler.
+
+        Assign a ResourceRequest varibale an empty ResourceRequest instead of 0.
+        The current solution only works for ports which can create a
+        ResourceRequest from a pointer, which might not be true for all ports.
+
+        * platform/network/SynchronousLoaderClient.cpp:
+        (WebCore::SynchronousLoaderClient::willSendRequest):
+
+2013-11-02  Patrick Gansterer  <par...@webkit.org>
+
         Port LoggingWin.cpp to WinCE
         https://bugs.webkit.org/show_bug.cgi?id=123678
 

Modified: trunk/Source/WebCore/platform/network/SynchronousLoaderClient.cpp (158503 => 158504)


--- trunk/Source/WebCore/platform/network/SynchronousLoaderClient.cpp	2013-11-02 21:59:57 UTC (rev 158503)
+++ trunk/Source/WebCore/platform/network/SynchronousLoaderClient.cpp	2013-11-02 22:17:03 UTC (rev 158504)
@@ -45,7 +45,7 @@
     ASSERT(m_error.isNull());
     m_error = platformBadResponseError();
     m_isDone = true;
-    request = 0;
+    request = ResourceRequest();
 }
 
 bool SynchronousLoaderClient::shouldUseCredentialStorage(ResourceHandle*)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to