[Win] Fix compile errors.
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Aug 2017 00:06:50 +0000 (00:06 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Aug 2017 00:06:50 +0000 (00:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=175860

Reviewed by Brent Fulgham.

Add required header files.

* platform/network/cf/CookieJarCFNet.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221058 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/network/cf/CookieJarCFNet.cpp

index 04731f6..b059c72 100644 (file)
@@ -1,3 +1,14 @@
+2017-08-22  Per Arne Vollan  <pvollan@apple.com>
+
+        [Win] Fix compile errors.
+        https://bugs.webkit.org/show_bug.cgi?id=175860
+
+        Reviewed by Brent Fulgham.
+
+        Add required header files. 
+
+        * platform/network/cf/CookieJarCFNet.cpp:
+
 2017-08-22  Brent Fulgham  <bfulgham@apple.com>
 
         Correct SOUP builds after r221017 and r221050.
index cafe2e6..fe3e781 100644 (file)
@@ -29,6 +29,7 @@
 #if USE(CFURLCONNECTION)
 
 #include "Cookie.h"
+#include "CookiesStrategy.h"
 #include "NetworkStorageSession.h"
 #include "NotImplemented.h"
 #include "URL.h"
@@ -36,7 +37,7 @@
 #include <CoreFoundation/CoreFoundation.h>
 #include <pal/spi/cf/CFNetworkSPI.h>
 #include <wtf/SoftLinking.h>
-#include <wtf/TypeCastsCF.h>
+#include <wtf/cf/TypeCastsCF.h>
 #include <wtf/text/WTFString.h>
 
 #if PLATFORM(WIN)
@@ -58,7 +59,7 @@ struct CFTypeTrait<ClassName##Ref> { \
 static inline CFTypeID typeID() { return ClassName##GetTypeID(); } \
 };
 
-DECLARE_CF_TYPE_TRAIT(CFHTTPCookieRef);
+DECLARE_CF_TYPE_TRAIT(CFHTTPCookie);
 
 #undef DECLARE_CF_TYPE_TRAIT
 } // namespace WTF