Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Unified Diff: Source/core/dom/ElementDataCache.cpp

Issue 355133003: [oilpan]: Move ElementDataCache to the oilpan heap using transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/ElementDataCache.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « Source/core/dom/ElementDataCache.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698