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

Unified Diff: Source/core/xml/XPathStep.h

Issue 937653002: InlinedVisitor: Migrate xml 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
« no previous file with comments | « Source/core/xml/XPathResult.cpp ('k') | Source/core/xml/XPathStep.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathStep.h
diff --git a/Source/core/xml/XPathStep.h b/Source/core/xml/XPathStep.h
index 38cae2fe2fcbd81b99f4a4c837247de21e97e7bb..0b649866471e5c046079dc1bc38aef3cc8f5f3bc 100644
--- a/Source/core/xml/XPathStep.h
+++ b/Source/core/xml/XPathStep.h
@@ -76,7 +76,7 @@ public:
ASSERT(o.m_mergedPredicates.isEmpty());
return *this;
}
- void trace(Visitor* visitor) { visitor->trace(m_mergedPredicates); }
+ DEFINE_INLINE_TRACE() { visitor->trace(m_mergedPredicates); }
Kind kind() const { return m_kind; }
const AtomicString& data() const { return m_data; }
@@ -96,7 +96,7 @@ public:
Step(Axis, const NodeTest&);
Step(Axis, const NodeTest&, WillBeHeapVector<OwnPtrWillBeMember<Predicate> >&);
virtual ~Step();
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
void optimize();
« no previous file with comments | « Source/core/xml/XPathResult.cpp ('k') | Source/core/xml/XPathStep.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698