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

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

Issue 637483002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/xml (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 d89293f590a3336ccbbf4a2feea94b93355d1e63..d8a3af042d03b249942390996777f54d4ac3dd0e 100644
--- a/Source/core/xml/XPathPath.h
+++ b/Source/core/xml/XPathPath.h
@@ -37,50 +37,50 @@ namespace XPath {
class Predicate;
class Step;
-class Filter FINAL : public Expression {
+class Filter final : public Expression {
public:
Filter(PassOwnPtrWillBeRawPtr<Expression>, WillBeHeapVector<OwnPtrWillBeMember<Predicate> >&);
virtual ~Filter();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
- virtual Value evaluate(EvaluationContext&) const OVERRIDE;
+ virtual Value evaluate(EvaluationContext&) const override;
private:
- virtual Value::Type resultType() const OVERRIDE { return Value::NodeSetValue; }
+ virtual Value::Type resultType() const override { return Value::NodeSetValue; }
OwnPtrWillBeMember<Expression> m_expr;
WillBeHeapVector<OwnPtrWillBeMember<Predicate> > m_predicates;
};
-class LocationPath FINAL : public Expression {
+class LocationPath final : public Expression {
public:
LocationPath();
virtual ~LocationPath();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
- virtual Value evaluate(EvaluationContext&) const OVERRIDE;
+ virtual 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; }
+ virtual Value::Type resultType() const override { return Value::NodeSetValue; }
WillBeHeapVector<RawPtrWillBeMember<Step> > m_steps;
bool m_absolute;
};
-class Path FINAL : public Expression {
+class Path final : public Expression {
public:
Path(Expression*, LocationPath*);
virtual ~Path();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
- virtual Value evaluate(EvaluationContext&) const OVERRIDE;
+ virtual Value evaluate(EvaluationContext&) const override;
private:
- virtual Value::Type resultType() const OVERRIDE { return Value::NodeSetValue; }
+ virtual Value::Type resultType() const override { return Value::NodeSetValue; }
OwnPtrWillBeMember<Expression> m_filter;
OwnPtrWillBeMember<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