⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176739 in webkit


Ignore:
Timestamp:
Dec 3, 2014, 12:30:18 PM (12 years ago)
Author:
andersca@apple.com
Message:

Remove ENABLE_UI_PROCESS_STORAGE define, it's always 1.

Rubber-stamped by Beth Dakin.

  • WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:

(WebKit::WebPlatformStrategies::localStorageNamespace):
(WebKit::WebPlatformStrategies::transientLocalStorageNamespace):
(WebKit::WebPlatformStrategies::sessionStorageNamespace):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r176733 r176739  
     12014-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
    1122014-12-03  Anders Carlsson  <andersca@apple.com>
    213
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp

    r172946 r176739  
    6969#endif
    7070
    71 // FIXME: Remove this #ifdef once we don't need the ability to turn the feature off.
    72 #define ENABLE_UI_PROCESS_STORAGE 1
    73 
    7471using namespace WebCore;
    7572
     
    341338PassRefPtr<StorageNamespace> WebPlatformStrategies::localStorageNamespace(PageGroup* pageGroup)
    342339{
    343 #if ENABLE(UI_PROCESS_STORAGE)
    344340    return StorageNamespaceImpl::createLocalStorageNamespace(pageGroup);
    345 #else
    346     return StorageStrategy::localStorageNamespace(pageGroup);
    347 #endif
    348341}
    349342
    350343PassRefPtr<StorageNamespace> WebPlatformStrategies::transientLocalStorageNamespace(PageGroup* pageGroup, SecurityOrigin*securityOrigin)
    351344{
    352 #if ENABLE(UI_PROCESS_STORAGE)
    353345    UNUSED_PARAM(securityOrigin);
    354346    // FIXME: This could be more clever and made to work across processes.
    355347    return StorageStrategy::sessionStorageNamespace(*pageGroup->pages().begin());
    356 #else
    357     return StorageStrategy::transientLocalStorageNamespace(pageGroup, securityOrigin);
    358 #endif
    359348}
    360349
    361350PassRefPtr<StorageNamespace> WebPlatformStrategies::sessionStorageNamespace(Page* page)
    362351{
    363 #if ENABLE(UI_PROCESS_STORAGE)
    364352    return StorageNamespaceImpl::createSessionStorageNamespace(WebPage::fromCorePage(page));
    365 #else
    366     return StorageStrategy::sessionStorageNamespace(page);
    367 #endif
    368353}
    369354
Note: See TracChangeset for help on using the changeset viewer.