2008-10-31 Darin Adler <darin@apple.com>
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Oct 2008 17:56:33 +0000 (17:56 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Oct 2008 17:56:33 +0000 (17:56 +0000)
        - try to fix build

        * WebView.cpp:
        (WebView::setCacheModel): Roll out the part of my last change
        that involved no longer using wkCopyFoundationCacheDirectory.

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

WebKit/win/ChangeLog
WebKit/win/WebView.cpp

index b3dbf52..57462cf 100644 (file)
@@ -1,3 +1,11 @@
+2008-10-31  Darin Adler  <darin@apple.com>
+
+        - try to fix build
+
+        * WebView.cpp:
+        (WebView::setCacheModel): Roll out the part of my last change
+        that involved no longer using wkCopyFoundationCacheDirectory.
+
 2008-10-30  Darin Adler  <darin@apple.com>
 
         Reviewed by Sam Weinig.
index c689ffc..e908d5d 100644 (file)
 #include <CFNetwork/CFURLCachePriv.h>
 #include <CFNetwork/CFURLProtocolPriv.h>
 #include <CoreFoundation/CoreFoundation.h>
+#include <WebKitSystemInterface/WebKitSystemInterface.h> 
 #include <wtf/HashSet.h>
 #include <dimm.h>
 #include <oleacc.h>
@@ -372,7 +373,7 @@ void WebView::setCacheModel(WebCacheModel cacheModel)
     RetainPtr<CFURLCacheRef> cfurlCache = CFURLCacheSharedURLCache();
 #endif
 
-    RetainPtr<CFStringRef> cfurlCacheDirectory(AdoptCF, _CFURLCacheCopyCacheDirectory(cfurlCache.get()));
+    RetainPtr<CFStringRef> cfurlCacheDirectory(AdoptCF, wkCopyFoundationCacheDirectory());
     if (!cfurlCacheDirectory)
         cfurlCacheDirectory.adoptCF(WebCore::localUserSpecificStorageDirectory().createCFString());