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

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

Issue 285213003: Oilpan: move Node traversal objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Drop nullptr type conversions 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/NodeFilter.idl ('k') | Source/core/dom/NodeIterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeFilterCondition.h
diff --git a/Source/core/dom/NodeFilterCondition.h b/Source/core/dom/NodeFilterCondition.h
index e6dbc923bf2af929c7cd7f8487cfd2896d2ddae0..d1248f3b5e14ca353e1abfea2352e16988d0041d 100644
--- a/Source/core/dom/NodeFilterCondition.h
+++ b/Source/core/dom/NodeFilterCondition.h
@@ -25,6 +25,7 @@
#ifndef NodeFilterCondition_h
#define NodeFilterCondition_h
+#include "platform/heap/Handle.h"
#include "wtf/RefCounted.h"
namespace WebCore {
@@ -32,10 +33,12 @@ namespace WebCore {
class ExceptionState;
class Node;
-class NodeFilterCondition : public RefCounted<NodeFilterCondition> {
+class NodeFilterCondition : public RefCountedWillBeGarbageCollectedFinalized<NodeFilterCondition> {
public:
virtual ~NodeFilterCondition() { }
virtual short acceptNode(Node*, ExceptionState&) const = 0;
+
+ virtual void trace(Visitor*) { }
};
} // namespace WebCore
« no previous file with comments | « Source/core/dom/NodeFilter.idl ('k') | Source/core/dom/NodeIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698