Index: Source/core/dom/ElementDataCache.cpp |
diff --git a/Source/core/dom/ElementDataCache.cpp b/Source/core/dom/ElementDataCache.cpp |
index 23ddd2f86cf719f7f14cbf7f015f3aaae57a3df4..8bf0887c33602183a99449320d8b79acb20b30fd 100644 |
--- a/Source/core/dom/ElementDataCache.cpp |
+++ b/Source/core/dom/ElementDataCache.cpp |
@@ -31,6 +31,8 @@ |
namespace WebCore { |
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ElementDataCache) |
+ |
inline unsigned attributeHash(const Vector<Attribute>& attributes) |
{ |
return StringHasher::hashMemory(attributes.data(), attributes.size() * sizeof(Attribute)); |
@@ -63,8 +65,9 @@ ElementDataCache::ElementDataCache() |
{ |
} |
-ElementDataCache::~ElementDataCache() |
+void ElementDataCache::trace(Visitor* visitor) |
{ |
+ visitor->trace(m_shareableElementDataCache); |
} |
} |