Changeset 207223 in webkit
- Timestamp:
- Oct 12, 2016 10:22:55 AM (7 years ago)
- Location:
- trunk/Source/WebKit/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/win/ChangeLog
r207218 r207223 1 2016-10-12 Brent Fulgham <bfulgham@apple.com> 2 3 [Win] Unreviewed build fix after r207218. 4 5 The CQ-landed patch used the old USE(CFNETWORK) compiler guard. 6 It should be using USE(CFURLCONNECTION). 7 8 * WebCache.cpp: 9 (WebCache::cacheFolder): 10 (WebCache::setCacheFolder): 11 1 12 2016-10-12 Per Arne Vollan <pvollan@apple.com> 2 13 -
trunk/Source/WebKit/win/WebCache.cpp
r207218 r207223 249 249 *location = WebCore::BString(cacheFolder).release(); 250 250 return S_OK; 251 #elif USE(CF NETWORK)251 #elif USE(CFURLCONNECTION) 252 252 RetainPtr<CFStringRef> cfurlCacheDirectory = adoptCF(wkCopyFoundationCacheDirectory(0)); 253 253 *location = BString(cfurlCacheDirectory.get()).release(); 254 254 return S_OK; 255 #else 256 return E_NOTIMPL; 255 257 #endif 256 258 } … … 262 264 WebCore::CurlCacheManager::getInstance().setCacheDirectory(cacheFolder); 263 265 return S_OK; 264 #elif USE(CF NETWORK)266 #elif USE(CFURLCONNECTION) 265 267 RetainPtr<CFURLCacheRef> cache = adoptCF(CFURLCacheCopySharedURLCache()); 266 268 CFIndex memoryCapacity = CFURLCacheMemoryCapacity(cache.get()); … … 269 271 CFURLCacheSetSharedURLCache(newCache.get()); 270 272 return S_OK; 271 #endif 272 } 273 #else 274 return E_NOTIMPL; 275 #endif 276 }
Note: See TracChangeset
for help on using the changeset viewer.