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

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

Issue 1224823006: Fix virtual/override/final usage in Source/core/xml/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/XPathFunctions.cpp ('k') | Source/core/xml/XPathPredicate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathPath.h
diff --git a/Source/core/xml/XPathPath.h b/Source/core/xml/XPathPath.h
index f58534f8c5e9eedc37d7669baa2abe730ad630c2..0f33fbe12b0373324bd14439d6a21fe468802bd0 100644
--- a/Source/core/xml/XPathPath.h
+++ b/Source/core/xml/XPathPath.h
@@ -40,13 +40,13 @@ class Step;
class Filter final : public Expression {
public:
Filter(Expression*, HeapVector<Member<Predicate>>&);
- virtual ~Filter();
+ ~Filter() override;
DECLARE_VIRTUAL_TRACE();
- virtual Value evaluate(EvaluationContext&) const override;
+ Value evaluate(EvaluationContext&) const override;
private:
- virtual Value::Type resultType() const override { return Value::NodeSetValue; }
+ Value::Type resultType() const override { return Value::NodeSetValue; }
Member<Expression> m_expr;
HeapVector<Member<Predicate>> m_predicates;
@@ -55,17 +55,17 @@ private:
class LocationPath final : public Expression {
public:
LocationPath();
- virtual ~LocationPath();
+ ~LocationPath() override;
DECLARE_VIRTUAL_TRACE();
- virtual Value evaluate(EvaluationContext&) const override;
+ Value evaluate(EvaluationContext&) const override;
void setAbsolute(bool value) { m_absolute = value; setIsContextNodeSensitive(!m_absolute); }
void evaluate(EvaluationContext&, NodeSet&) const; // nodes is an input/output parameter
void appendStep(Step*);
void insertFirstStep(Step*);
private:
- virtual Value::Type resultType() const override { return Value::NodeSetValue; }
+ Value::Type resultType() const override { return Value::NodeSetValue; }
HeapVector<Member<Step>> m_steps;
bool m_absolute;
@@ -74,13 +74,13 @@ private:
class Path final : public Expression {
public:
Path(Expression*, LocationPath*);
- virtual ~Path();
+ ~Path() override;
DECLARE_VIRTUAL_TRACE();
- virtual Value evaluate(EvaluationContext&) const override;
+ Value evaluate(EvaluationContext&) const override;
private:
- virtual Value::Type resultType() const override { return Value::NodeSetValue; }
+ Value::Type resultType() const override { return Value::NodeSetValue; }
Member<Expression> m_filter;
Member<LocationPath> m_path;
« no previous file with comments | « Source/core/xml/XPathFunctions.cpp ('k') | Source/core/xml/XPathPredicate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698