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

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

Issue 390043003: Move NodeListsNodeData class out of NodeRareData.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« Source/core/dom/NodeListsNodeData.cpp ('K') | « Source/core/dom/NodeRareData.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/NodeRareData.cpp
diff --git a/Source/core/dom/NodeRareData.cpp b/Source/core/dom/NodeRareData.cpp
index d778fa3d25de6ea1c625fc8135de1c6adb6ae61f..e66f552c68cca16a09c4c082594b24e0fd5ea73a 100644
--- a/Source/core/dom/NodeRareData.cpp
+++ b/Source/core/dom/NodeRareData.cpp
@@ -45,27 +45,6 @@ struct SameSizeAsNodeRareData {
COMPILE_ASSERT(sizeof(NodeRareData) == sizeof(SameSizeAsNodeRareData), NodeRareDataShouldStaySmall);
-void NodeListsNodeData::invalidateCaches(const QualifiedName* attrName)
-{
- NodeListAtomicNameCacheMap::const_iterator atomicNameCacheEnd = m_atomicNameCaches.end();
- for (NodeListAtomicNameCacheMap::const_iterator it = m_atomicNameCaches.begin(); it != atomicNameCacheEnd; ++it)
- it->value->invalidateCacheForAttribute(attrName);
-
- if (attrName)
- return;
-
- TagCollectionCacheNS::iterator tagCacheEnd = m_tagCollectionCacheNS.end();
- for (TagCollectionCacheNS::iterator it = m_tagCollectionCacheNS.begin(); it != tagCacheEnd; ++it)
- it->value->invalidateCache();
-}
-
-void NodeListsNodeData::trace(Visitor* visitor)
-{
- visitor->trace(m_childNodeList);
- visitor->trace(m_atomicNameCaches);
- visitor->trace(m_tagCollectionCacheNS);
-}
-
void NodeRareData::traceAfterDispatch(Visitor* visitor)
{
visitor->trace(m_mutationObserverData);
« Source/core/dom/NodeListsNodeData.cpp ('K') | « Source/core/dom/NodeRareData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698