Changeset 32225 in webkit


Ignore:
Timestamp:
Apr 18, 2008, 1:54:04 PM (17 years ago)
Author:
mrowe@apple.com
Message:

Fix builds that do not have DOM storage enabled.

Location:
trunk/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r32224 r32225  
     12008-04-10  Mark Rowe  <mrowe@apple.com>
     2
     3        Rubber-stamped by Brady Eidson.
     4
     5        Fix builds that do not have DOM storage enabled.
     6
     7        * page/DOMWindow.cpp:
     8        * page/Page.cpp:
     9        * page/PageGroup.cpp:
     10        * page/PageGroup.h:
     11
    1122008-04-18  Timothy Hatcher  <timothy@apple.com>
    213
  • trunk/WebCore/page/DOMWindow.cpp

    r32020 r32225  
    3333#include "Chrome.h"
    3434#include "Console.h"
    35 #if ENABLE(OFFLINE_WEB_APPLICATIONS)
    36 #include "DOMApplicationCache.h"
    37 #endif
    3835#include "DOMSelection.h"
    3936#include "Document.h"
     
    4643#include "HTMLFrameOwnerElement.h"
    4744#include "History.h"
    48 #include "LocalStorage.h"
    4945#include "Location.h"
    5046#include "Navigator.h"
     
    6662
    6763#if ENABLE(DOM_STORAGE)
     64#include "LocalStorage.h"
    6865#include "SessionStorage.h"
    6966#include "Storage.h"
    7067#include "StorageArea.h"
     68#endif
     69
     70#if ENABLE(OFFLINE_WEB_APPLICATIONS)
     71#include "DOMApplicationCache.h"
    7172#endif
    7273
  • trunk/WebCore/page/Page.cpp

    r32020 r32225  
    3838#include "InspectorController.h"
    3939#include "JavaScriptDebugServer.h"
    40 #include "LocalStorage.h"
    4140#include "Logging.h"
    4241#include "Navigator.h"
     
    5655
    5756#if ENABLE(DOM_STORAGE)
     57#include "LocalStorage.h"
    5858#include "SessionStorage.h"
    5959#include "StorageArea.h"
  • trunk/WebCore/page/PageGroup.cpp

    r32204 r32225  
    2929#include "ChromeClient.h"
    3030#include "Document.h"
     31#include "Page.h"
     32
     33#if ENABLE(DOM_STORAGE)
    3134#include "LocalStorage.h"
    32 #include "Page.h"
    3335#include "StorageArea.h"
     36#endif
    3437
    3538namespace WebCore {
     
    117120}
    118121
     122#if ENABLE(DOM_STORAGE)
    119123LocalStorage* PageGroup::localStorage()
    120124{
     
    126130    return m_localStorage.get();
    127131}
     132#endif
    128133
    129134} // namespace WebCore
  • trunk/WebCore/page/PageGroup.h

    r32200 r32225  
    5454        static void setShouldTrackVisitedLinks(bool);
    5555        static void removeAllVisitedLinks();
    56        
     56
     57#if ENABLE(DOM_STORAGE)
    5758        LocalStorage* localStorage();
     59#endif
    5860
    5961    private:
     
    6365        HashSet<unsigned, AlreadyHashed> m_visitedLinkHashes;
    6466        bool m_visitedLinksPopulated;
     67
     68#if ENABLE(DOM_STORAGE)
    6569        RefPtr<LocalStorage> m_localStorage;
     70#endif
    6671    };
    6772
Note: See TracChangeset for help on using the changeset viewer.