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

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

Issue 2748103002: [wrapper-tracing] Redesign dispatching on non-inheriting cases (Closed)
Patch Set: 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..fcfceac4b07b072ce8fcb99b11128f4f28175d3f 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_TRACE_TRAIT_FOR_WRAPPER_WITHOUT_BASE(NodeListsNodeData);
+
template <typename Collection>
inline Collection* ContainerNode::ensureCachedCollection(CollectionType type) {
ThreadState::MainThreadGCForbiddenScope gcForbidden;

Powered by Google App Engine
This is Rietveld 408576698