Title: [219095] trunk/Source/WebCore
Revision
219095
Author
[email protected]
Date
2017-07-03 14:43:57 -0700 (Mon, 03 Jul 2017)

Log Message

[Curl] Fix compilation errors
https://bugs.webkit.org/show_bug.cgi?id=174085

Patch by Daewoong Jang <[email protected]> on 2017-07-03
Reviewed by Alex Christensen.

* platform/network/curl/CurlContext.cpp:
(WebCore::CurlContext::initCookieSession):
* platform/network/curl/CurlContext.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (219094 => 219095)


--- trunk/Source/WebCore/ChangeLog	2017-07-03 21:38:42 UTC (rev 219094)
+++ trunk/Source/WebCore/ChangeLog	2017-07-03 21:43:57 UTC (rev 219095)
@@ -1,3 +1,14 @@
+2017-07-03  Daewoong Jang  <[email protected]>
+
+        [Curl] Fix compilation errors
+        https://bugs.webkit.org/show_bug.cgi?id=174085
+
+        Reviewed by Alex Christensen.
+
+        * platform/network/curl/CurlContext.cpp:
+        (WebCore::CurlContext::initCookieSession):
+        * platform/network/curl/CurlContext.h:
+
 2017-07-03  Youenn Fablet  <[email protected]>
 
         WebAudioSourceProviderAVFObjC should not reconfigure for each data call

Modified: trunk/Source/WebCore/platform/network/curl/CurlContext.cpp (219094 => 219095)


--- trunk/Source/WebCore/platform/network/curl/CurlContext.cpp	2017-07-03 21:38:42 UTC (rev 219094)
+++ trunk/Source/WebCore/platform/network/curl/CurlContext.cpp	2017-07-03 21:43:57 UTC (rev 219095)
@@ -151,8 +151,8 @@
     curl_easy_setopt(curl, CURLOPT_SHARE, curlShareHandle());
 
     if (!m_cookieJarFileName.isNull()) {
-        curl_easy_setopt(curl, CURLOPT_COOKIEFILE, m_cookieJarFileName);
-        curl_easy_setopt(curl, CURLOPT_COOKIEJAR, m_cookieJarFileName);
+        curl_easy_setopt(curl, CURLOPT_COOKIEFILE, m_cookieJarFileName.data());
+        curl_easy_setopt(curl, CURLOPT_COOKIEJAR, m_cookieJarFileName.data());
     }
 
     curl_easy_setopt(curl, CURLOPT_COOKIESESSION, 1);

Modified: trunk/Source/WebCore/platform/network/curl/CurlContext.h (219094 => 219095)


--- trunk/Source/WebCore/platform/network/curl/CurlContext.h	2017-07-03 21:38:42 UTC (rev 219094)
+++ trunk/Source/WebCore/platform/network/curl/CurlContext.h	2017-07-03 21:43:57 UTC (rev 219095)
@@ -28,8 +28,8 @@
 
 #include "URL.h"
 
-#include <WTF/Noncopyable.h>
 #include <wtf/Lock.h>
+#include <wtf/Noncopyable.h>
 #include <wtf/Threading.h>
 
 #if OS(WINDOWS)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to