Index: Source/modules/quota/NavigatorStorageQuota.cpp |
diff --git a/Source/modules/quota/NavigatorStorageQuota.cpp b/Source/modules/quota/NavigatorStorageQuota.cpp |
index 42629aaf566352760db40c0551648e368dc5e6eb..c0267151845a1de3c454027634ef541065aa2517 100644 |
--- a/Source/modules/quota/NavigatorStorageQuota.cpp |
+++ b/Source/modules/quota/NavigatorStorageQuota.cpp |
@@ -37,15 +37,15 @@ |
namespace WebCore { |
+#ifdef Navigator_IS_GARBAGE_COLLECTED |
+DEFINE_GC_INFO(NavigatorStorageQuota); |
+#endif |
+ |
NavigatorStorageQuota::NavigatorStorageQuota(Frame* frame) |
: DOMWindowProperty(frame) |
{ |
} |
-NavigatorStorageQuota::~NavigatorStorageQuota() |
-{ |
-} |
- |
const char* NavigatorStorageQuota::supplementName() |
{ |
return "NavigatorStorageQuota"; |
@@ -97,4 +97,13 @@ DeprecatedStorageQuota* NavigatorStorageQuota::webkitPersistentStorage() const |
return m_persistentStorage.get(); |
} |
+#ifdef Navigator_IS_GARBAGE_COLLECTED |
+void NavigatorStorageQuota::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_storageQuota); |
+ visitor->trace(m_temporaryStorage); |
+ visitor->trace(m_persistentStorage); |
+} |
+#endif |
+ |
} // namespace WebCore |