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

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

Issue 2435003002: [wrapper-tracing] Add NodeList write barriers (Closed)
Patch Set: 2nd try Created 4 years, 2 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 | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/NodeRareData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7c64bfd6214096337ca20b89bd7866fc0d13da12..53c7518768ddfaa7bb5f909575ff818d6bbcfb8c 100644
--- a/third_party/WebKit/Source/core/dom/NodeListsNodeData.h
+++ b/third_party/WebKit/Source/core/dom/NodeListsNodeData.h
@@ -48,6 +48,7 @@ class NodeListsNodeData final : public GarbageCollected<NodeListsNodeData> {
return toChildNodeList(m_childNodeList);
ChildNodeList* list = ChildNodeList::create(node);
m_childNodeList = list;
+ ScriptWrappableVisitor::writeBarrier(this, list);
return list;
}
@@ -57,6 +58,7 @@ class NodeListsNodeData final : public GarbageCollected<NodeListsNodeData> {
return toEmptyNodeList(m_childNodeList);
EmptyNodeList* list = EmptyNodeList::create(node);
m_childNodeList = list;
+ ScriptWrappableVisitor::writeBarrier(this, list);
return list;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/NodeRareData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698