[WK2] Local storage areas should get torn down when they have no remaining references.
[WebKit-https.git] / Source / WebKit2 / WebProcess / Storage / StorageAreaImpl.h
index a4d599a..e0405f5 100644 (file)
 #include <wtf/HashCountedSet.h>
 #include <wtf/HashMap.h>
 
+namespace WebCore {
+class SecurityOrigin;
+}
+
 namespace WebKit {
 
 class StorageAreaMap;
@@ -59,6 +63,7 @@ private:
     virtual void incrementAccessCount() override;
     virtual void decrementAccessCount() override;
     virtual void closeDatabaseIfIdle() override;
+    WebCore::SecurityOrigin& securityOrigin() override;
 
     uint64_t m_storageAreaID;
     RefPtr<StorageAreaMap> m_storageAreaMap;