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

Unified Diff: Source/core/dom/LiveNodeListBase.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/LiveNodeListBase.h
diff --git a/Source/core/dom/LiveNodeListBase.h b/Source/core/dom/LiveNodeListBase.h
index 3daef7952d2bd125c71302b85aafabdbe556062b..7fc6ab20ad26a4c72833eb5e611fb890f948bd31 100644
--- a/Source/core/dom/LiveNodeListBase.h
+++ b/Source/core/dom/LiveNodeListBase.h
@@ -84,7 +84,7 @@ protected:
template <typename MatchFunc>
static Element* traverseMatchingElementsBackwardToOffset(Element& currentElement, const ContainerNode* stayWithin, unsigned offset, unsigned& currentOffset, MatchFunc);
- virtual void trace(Visitor* visitor) { visitor->trace(m_ownerNode); }
+ DEFINE_INLINE_VIRTUAL_TRACE() { visitor->trace(m_ownerNode); }
private:
RefPtrWillBeMember<ContainerNode> m_ownerNode; // Cannot be null.

Powered by Google App Engine
This is Rietveld 408576698