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

Unified Diff: third_party/WebKit/Source/core/dom/NodeListsNodeData.h

Issue 2748103002: [wrapper-tracing] Redesign dispatching on non-inheriting cases (Closed)
Patch Set: Addressed comment Created 3 years, 9 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
Index: third_party/WebKit/Source/core/dom/NodeListsNodeData.h
diff --git a/third_party/WebKit/Source/core/dom/NodeListsNodeData.h b/third_party/WebKit/Source/core/dom/NodeListsNodeData.h
index 61674ae8076e28bec433a01ecec75a378399d1e3..fc4cd8dd9e29b9aa907de26fddc45cb417128475 100644
--- a/third_party/WebKit/Source/core/dom/NodeListsNodeData.h
+++ b/third_party/WebKit/Source/core/dom/NodeListsNodeData.h
@@ -169,7 +169,7 @@ class NodeListsNodeData final : public GarbageCollected<NodeListsNodeData> {
}
DECLARE_TRACE();
- DECLARE_TRACE_WRAPPERS_WITHOUT_BASE();
+ DECLARE_TRACE_WRAPPERS();
private:
NodeListsNodeData() : m_childNodeList(nullptr) {}
@@ -189,6 +189,8 @@ class NodeListsNodeData final : public GarbageCollected<NodeListsNodeData> {
TagCollectionCacheNS m_tagCollectionCacheNS;
};
+DEFINE_TRAIT_FOR_TRACE_WRAPPERS(NodeListsNodeData);
+
template <typename Collection>
inline Collection* ContainerNode::ensureCachedCollection(CollectionType type) {
ThreadState::MainThreadGCForbiddenScope gcForbidden;
« no previous file with comments | « third_party/WebKit/Source/core/dom/ElementRareData.h ('k') | third_party/WebKit/Source/core/dom/NodeRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698