Changeset 176739 in webkit
- Timestamp:
- Dec 3, 2014, 12:30:18 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebCoreSupport/WebPlatformStrategies.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r176733 r176739 1 2014-12-03 Anders Carlsson <andersca@apple.com> 2 3 Remove ENABLE_UI_PROCESS_STORAGE define, it's always 1. 4 5 Rubber-stamped by Beth Dakin. 6 7 * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: 8 (WebKit::WebPlatformStrategies::localStorageNamespace): 9 (WebKit::WebPlatformStrategies::transientLocalStorageNamespace): 10 (WebKit::WebPlatformStrategies::sessionStorageNamespace): 11 1 12 2014-12-03 Anders Carlsson <andersca@apple.com> 2 13 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
r172946 r176739 69 69 #endif 70 70 71 // FIXME: Remove this #ifdef once we don't need the ability to turn the feature off.72 #define ENABLE_UI_PROCESS_STORAGE 173 74 71 using namespace WebCore; 75 72 … … 341 338 PassRefPtr<StorageNamespace> WebPlatformStrategies::localStorageNamespace(PageGroup* pageGroup) 342 339 { 343 #if ENABLE(UI_PROCESS_STORAGE)344 340 return StorageNamespaceImpl::createLocalStorageNamespace(pageGroup); 345 #else346 return StorageStrategy::localStorageNamespace(pageGroup);347 #endif348 341 } 349 342 350 343 PassRefPtr<StorageNamespace> WebPlatformStrategies::transientLocalStorageNamespace(PageGroup* pageGroup, SecurityOrigin*securityOrigin) 351 344 { 352 #if ENABLE(UI_PROCESS_STORAGE)353 345 UNUSED_PARAM(securityOrigin); 354 346 // FIXME: This could be more clever and made to work across processes. 355 347 return StorageStrategy::sessionStorageNamespace(*pageGroup->pages().begin()); 356 #else357 return StorageStrategy::transientLocalStorageNamespace(pageGroup, securityOrigin);358 #endif359 348 } 360 349 361 350 PassRefPtr<StorageNamespace> WebPlatformStrategies::sessionStorageNamespace(Page* page) 362 351 { 363 #if ENABLE(UI_PROCESS_STORAGE)364 352 return StorageNamespaceImpl::createSessionStorageNamespace(WebPage::fromCorePage(page)); 365 #else366 return StorageStrategy::sessionStorageNamespace(page);367 #endif368 353 } 369 354
Note:
See TracChangeset
for help on using the changeset viewer.