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

Unified Diff: Source/core/css/VariablesIterator.h

Issue 129063002: Update CSS classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/css/StyleRuleImport.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/VariablesIterator.h
diff --git a/Source/core/css/VariablesIterator.h b/Source/core/css/VariablesIterator.h
index 5a411fe9a21cc8da648d1b00b0e8c524d27654c1..b8762d2f8f84c1ef3850265eca9f98eb9f1823a9 100644
--- a/Source/core/css/VariablesIterator.h
+++ b/Source/core/css/VariablesIterator.h
@@ -36,16 +36,16 @@ public:
protected:
void takeRemainingNames(Vector<AtomicString>& remainingNames) { m_remainingNames.swap(remainingNames); }
- virtual void initRemainingNames(const StylePropertySet*);
+ void initRemainingNames(const StylePropertySet*);
private:
- virtual void advance() OVERRIDE;
- virtual bool atEnd() const OVERRIDE { return m_remainingNames.isEmpty(); }
- virtual AtomicString name() const OVERRIDE { return m_remainingNames.last(); }
- virtual String value() const OVERRIDE;
- virtual void addedVariable(const AtomicString& name) OVERRIDE;
- virtual void removedVariable(const AtomicString& name) OVERRIDE;
- virtual void clearedVariables() OVERRIDE;
+ virtual void advance() OVERRIDE FINAL;
+ virtual bool atEnd() const OVERRIDE FINAL { return m_remainingNames.isEmpty(); }
+ virtual AtomicString name() const OVERRIDE FINAL { return m_remainingNames.last(); }
+ virtual String value() const OVERRIDE FINAL;
+ virtual void addedVariable(const AtomicString& name) OVERRIDE FINAL;
+ virtual void removedVariable(const AtomicString& name) OVERRIDE FINAL;
+ virtual void clearedVariables() OVERRIDE FINAL;
virtual MutableStylePropertySet* propertySet() const = 0;
@@ -53,7 +53,7 @@ private:
Vector<AtomicString> m_newNames;
};
-class VariablesIterator : public AbstractVariablesIterator {
+class VariablesIterator FINAL : public AbstractVariablesIterator {
public:
static PassRefPtr<VariablesIterator> create(MutableStylePropertySet*);
« no previous file with comments | « Source/core/css/StyleRuleImport.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698