Title: [221864] trunk/Source/WebCore
Revision
221864
Author
[email protected]
Date
2017-09-11 10:43:00 -0700 (Mon, 11 Sep 2017)

Log Message

[WinCairo] Fix the wincairo build after r221839
https://bugs.webkit.org/show_bug.cgi?id=176681

Patch by Yoshiaki Jitsukawa <[email protected]> on 2017-09-11
Reviewed by Per Arne Vollan.

* platform/network/curl/ResourceHandleCurlDelegate.cpp:
(WebCore::ResourceHandleCurlDelegate::setupPOST):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (221863 => 221864)


--- trunk/Source/WebCore/ChangeLog	2017-09-11 17:42:36 UTC (rev 221863)
+++ trunk/Source/WebCore/ChangeLog	2017-09-11 17:43:00 UTC (rev 221864)
@@ -1,3 +1,13 @@
+2017-09-11  Yoshiaki Jitsukawa  <[email protected]>
+
+        [WinCairo] Fix the wincairo build after r221839
+        https://bugs.webkit.org/show_bug.cgi?id=176681
+
+        Reviewed by Per Arne Vollan.
+
+        * platform/network/curl/ResourceHandleCurlDelegate.cpp:
+        (WebCore::ResourceHandleCurlDelegate::setupPOST):
+
 2017-09-11  Andy Estes  <[email protected]>
 
         [Mac] Upstream QTKit-related WebKitSystemInterface functions

Modified: trunk/Source/WebCore/platform/network/curl/ResourceHandleCurlDelegate.cpp (221863 => 221864)


--- trunk/Source/WebCore/platform/network/curl/ResourceHandleCurlDelegate.cpp	2017-09-11 17:42:36 UTC (rev 221863)
+++ trunk/Source/WebCore/platform/network/curl/ResourceHandleCurlDelegate.cpp	2017-09-11 17:43:00 UTC (rev 221864)
@@ -716,7 +716,7 @@
 
     // Do not stream for simple POST data
     if (numElements == 1) {
-        m_firstRequest.httpBody()->flatten(m_postBytes);
+        m_postBytes = m_firstRequest.httpBody()->flatten();
         if (m_postBytes.size())
             m_curlHandle.setPostFields(m_postBytes.data(), m_postBytes.size());
         return;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to