Changeset 32225 in webkit
- Timestamp:
- Apr 18, 2008, 1:54:04 PM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r32224 r32225 1 2008-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 1 12 2008-04-18 Timothy Hatcher <timothy@apple.com> 2 13 -
trunk/WebCore/page/DOMWindow.cpp
r32020 r32225 33 33 #include "Chrome.h" 34 34 #include "Console.h" 35 #if ENABLE(OFFLINE_WEB_APPLICATIONS)36 #include "DOMApplicationCache.h"37 #endif38 35 #include "DOMSelection.h" 39 36 #include "Document.h" … … 46 43 #include "HTMLFrameOwnerElement.h" 47 44 #include "History.h" 48 #include "LocalStorage.h"49 45 #include "Location.h" 50 46 #include "Navigator.h" … … 66 62 67 63 #if ENABLE(DOM_STORAGE) 64 #include "LocalStorage.h" 68 65 #include "SessionStorage.h" 69 66 #include "Storage.h" 70 67 #include "StorageArea.h" 68 #endif 69 70 #if ENABLE(OFFLINE_WEB_APPLICATIONS) 71 #include "DOMApplicationCache.h" 71 72 #endif 72 73 -
trunk/WebCore/page/Page.cpp
r32020 r32225 38 38 #include "InspectorController.h" 39 39 #include "JavaScriptDebugServer.h" 40 #include "LocalStorage.h"41 40 #include "Logging.h" 42 41 #include "Navigator.h" … … 56 55 57 56 #if ENABLE(DOM_STORAGE) 57 #include "LocalStorage.h" 58 58 #include "SessionStorage.h" 59 59 #include "StorageArea.h" -
trunk/WebCore/page/PageGroup.cpp
r32204 r32225 29 29 #include "ChromeClient.h" 30 30 #include "Document.h" 31 #include "Page.h" 32 33 #if ENABLE(DOM_STORAGE) 31 34 #include "LocalStorage.h" 32 #include "Page.h"33 35 #include "StorageArea.h" 36 #endif 34 37 35 38 namespace WebCore { … … 117 120 } 118 121 122 #if ENABLE(DOM_STORAGE) 119 123 LocalStorage* PageGroup::localStorage() 120 124 { … … 126 130 return m_localStorage.get(); 127 131 } 132 #endif 128 133 129 134 } // namespace WebCore -
trunk/WebCore/page/PageGroup.h
r32200 r32225 54 54 static void setShouldTrackVisitedLinks(bool); 55 55 static void removeAllVisitedLinks(); 56 56 57 #if ENABLE(DOM_STORAGE) 57 58 LocalStorage* localStorage(); 59 #endif 58 60 59 61 private: … … 63 65 HashSet<unsigned, AlreadyHashed> m_visitedLinkHashes; 64 66 bool m_visitedLinksPopulated; 67 68 #if ENABLE(DOM_STORAGE) 65 69 RefPtr<LocalStorage> m_localStorage; 70 #endif 66 71 }; 67 72
Note:
See TracChangeset
for help on using the changeset viewer.