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

Unified Diff: Source/core/xml/XPathPredicate.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/XPathPath.cpp ('k') | Source/core/xml/XPathPredicate.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathPredicate.h
diff --git a/Source/core/xml/XPathPredicate.h b/Source/core/xml/XPathPredicate.h
index 2faa9913f86c01e8f0be860c3ab9744f87c4ef38..629d83d0e16b9c83af79322f641a39b64fe07908 100644
--- a/Source/core/xml/XPathPredicate.h
+++ b/Source/core/xml/XPathPredicate.h
@@ -37,7 +37,7 @@ namespace XPath {
class Number final : public Expression {
public:
explicit Number(double);
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
private:
virtual Value evaluate(EvaluationContext&) const override;
@@ -49,7 +49,7 @@ private:
class StringExpression final : public Expression {
public:
explicit StringExpression(const String&);
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
private:
virtual Value evaluate(EvaluationContext&) const override;
@@ -115,7 +115,7 @@ class Predicate final : public NoBaseWillBeGarbageCollected<Predicate> {
DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(Predicate);
public:
explicit Predicate(PassOwnPtrWillBeRawPtr<Expression>);
- void trace(Visitor*);
+ DECLARE_TRACE();
bool evaluate(EvaluationContext&) const;
bool isContextPositionSensitive() const { return m_expr->isContextPositionSensitive() || m_expr->resultType() == Value::NumberValue; }
« no previous file with comments | « Source/core/xml/XPathPath.cpp ('k') | Source/core/xml/XPathPredicate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698