Title: [213847] trunk/Source/WebCore
Revision
213847
Author
[email protected]
Date
2017-03-13 09:29:22 -0700 (Mon, 13 Mar 2017)

Log Message

[Win] Compile error.
https://bugs.webkit.org/show_bug.cgi?id=169546

Reviewed by Brent Fulgham.

There is no matching constructor in the Cookie class.

* platform/network/cf/CookieJarCFNet.cpp:
(WebCore::getRawCookies):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (213846 => 213847)


--- trunk/Source/WebCore/ChangeLog	2017-03-13 16:26:48 UTC (rev 213846)
+++ trunk/Source/WebCore/ChangeLog	2017-03-13 16:29:22 UTC (rev 213847)
@@ -1,3 +1,15 @@
+2017-03-13  Per Arne Vollan  <[email protected]>
+
+        [Win] Compile error.
+        https://bugs.webkit.org/show_bug.cgi?id=169546
+
+        Reviewed by Brent Fulgham.
+
+        There is no matching constructor in the Cookie class.
+
+        * platform/network/cf/CookieJarCFNet.cpp:
+        (WebCore::getRawCookies):
+
 2017-03-13  Miguel Gomez  <[email protected]>
 
         ImageDecoder can be deleted while the async decoder thread is still using it

Modified: trunk/Source/WebCore/platform/network/cf/CookieJarCFNet.cpp (213846 => 213847)


--- trunk/Source/WebCore/platform/network/cf/CookieJarCFNet.cpp	2017-03-13 16:26:48 UTC (rev 213846)
+++ trunk/Source/WebCore/platform/network/cf/CookieJarCFNet.cpp	2017-03-13 16:29:22 UTC (rev 213847)
@@ -181,19 +181,23 @@
     rawCookies.reserveCapacity(count);
 
     for (CFIndex i = 0; i < count; i++) {
-       CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(cookiesCF.get(), i);
-       String name = cookieName(cookie).get();
-       String value = cookieValue(cookie).get();
-       String domain = cookieDomain(cookie).get();
-       String path = cookiePath(cookie).get();
+        CFHTTPCookieRef cookie = (CFHTTPCookieRef)CFArrayGetValueAtIndex(cookiesCF.get(), i);
+        String name = cookieName(cookie).get();
+        String value = cookieValue(cookie).get();
+        String domain = cookieDomain(cookie).get();
+        String path = cookiePath(cookie).get();
 
-       double expires = (cookieExpirationTime(cookie) + kCFAbsoluteTimeIntervalSince1970) * 1000;
+        double expires = (cookieExpirationTime(cookie) + kCFAbsoluteTimeIntervalSince1970) * 1000;
 
-       bool httpOnly = CFHTTPCookieIsHTTPOnly(cookie);
-       bool secure = CFHTTPCookieIsSecure(cookie);
-       bool session = false;    // FIXME: Need API for if a cookie is a session cookie.
+        bool httpOnly = CFHTTPCookieIsHTTPOnly(cookie);
+        bool secure = CFHTTPCookieIsSecure(cookie);
+        bool session = false; // FIXME: Need API for if a cookie is a session cookie.
 
-       rawCookies.uncheckedAppend(Cookie(name, value, domain, path, expires, httpOnly, secure, session));
+        String comment;
+        URL commentURL;
+        Vector<uint16_t> ports;
+
+        rawCookies.uncheckedAppend(Cookie(name, value, domain, path, expires, httpOnly, secure, session, comment, commentURL, ports));
     }
 
     return true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to