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

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

Issue 947393002: InlinedVisitor: Migrate dom to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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: Source/core/dom/NodeIterator.h
diff --git a/Source/core/dom/NodeIterator.h b/Source/core/dom/NodeIterator.h
index 40ea9d9289afe8efdbb2ecfc64b37dabe1a9c0ad..cf321bcbcde2bbf54b48bd698c57e43a10f20c9d 100644
--- a/Source/core/dom/NodeIterator.h
+++ b/Source/core/dom/NodeIterator.h
@@ -59,7 +59,7 @@ public:
// This function is called before any node is removed from the document tree.
void nodeWillBeRemoved(Node&);
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
private:
NodeIterator(PassRefPtrWillBeRawPtr<Node>, unsigned whatToShow, PassRefPtrWillBeRawPtr<NodeFilter>);
@@ -77,7 +77,7 @@ private:
RefPtrWillBeMember<Node> node;
bool isPointerBeforeNode;
- void trace(Visitor* visitor)
+ DEFINE_INLINE_TRACE()
{
visitor->trace(node);
}

Powered by Google App Engine
This is Rietveld 408576698