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

Unified Diff: Source/core/dom/NodeList.h

Issue 280123002: Oilpan: move LiveNodeList collections to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have NodeRareData clear out NodeListsNodeData instead. Created 6 years, 7 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/Node.cpp ('k') | Source/core/dom/NodeList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeList.h
diff --git a/Source/core/dom/NodeList.h b/Source/core/dom/NodeList.h
index 76c51dae695d72694d45b99f3ee92b2bc83ad55c..6f27c5e8b65b7b829953460ef438bff20f9ff0ee 100644
--- a/Source/core/dom/NodeList.h
+++ b/Source/core/dom/NodeList.h
@@ -32,7 +32,7 @@ namespace WebCore {
class Node;
-class NodeList : public ScriptWrappable, public RefCounted<NodeList> {
+class NodeList : public RefCountedWillBeGarbageCollectedFinalized<NodeList>, public ScriptWrappable {
public:
virtual ~NodeList() { }
@@ -46,6 +46,8 @@ public:
virtual Node* virtualOwnerNode() const { return 0; }
+ virtual void trace(Visitor*) { }
+
protected:
NodeList()
{
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/NodeList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698