Index: Source/core/css/CSSRuleList.h |
diff --git a/Source/core/css/CSSRuleList.h b/Source/core/css/CSSRuleList.h |
index 91232954f21ea1a14bfc76005160e741905a1cef..0655b5fb6b70bfca0a195a42871344dca3f98081 100644 |
--- a/Source/core/css/CSSRuleList.h |
+++ b/Source/core/css/CSSRuleList.h |
@@ -56,7 +56,7 @@ protected: |
CSSRuleList() { } |
}; |
-class StaticCSSRuleList FINAL : public CSSRuleList { |
+class StaticCSSRuleList final : public CSSRuleList { |
public: |
static PassRefPtrWillBeRawPtr<StaticCSSRuleList> create() |
{ |
@@ -64,22 +64,22 @@ public: |
} |
#if !ENABLE(OILPAN) |
- virtual void ref() OVERRIDE { ++m_refCount; } |
- virtual void deref() OVERRIDE; |
+ virtual void ref() override { ++m_refCount; } |
+ virtual void deref() override; |
#endif |
WillBeHeapVector<RefPtrWillBeMember<CSSRule> >& rules() { return m_rules; } |
- virtual CSSStyleSheet* styleSheet() const OVERRIDE { return 0; } |
+ virtual CSSStyleSheet* styleSheet() const override { return 0; } |
- virtual void trace(Visitor*) OVERRIDE; |
+ virtual void trace(Visitor*) override; |
private: |
StaticCSSRuleList(); |
virtual ~StaticCSSRuleList(); |
- virtual unsigned length() const OVERRIDE { return m_rules.size(); } |
- virtual CSSRule* item(unsigned index) const OVERRIDE { return index < m_rules.size() ? m_rules[index].get() : 0; } |
+ virtual unsigned length() const override { return m_rules.size(); } |
+ virtual CSSRule* item(unsigned index) const override { return index < m_rules.size() ? m_rules[index].get() : 0; } |
WillBeHeapVector<RefPtrWillBeMember<CSSRule> > m_rules; |
#if !ENABLE(OILPAN) |
@@ -88,7 +88,7 @@ private: |
}; |
template <class Rule> |
-class LiveCSSRuleList FINAL : public CSSRuleList { |
+class LiveCSSRuleList final : public CSSRuleList { |
public: |
static PassOwnPtrWillBeRawPtr<LiveCSSRuleList> create(Rule* rule) |
{ |
@@ -96,11 +96,11 @@ public: |
} |
#if !ENABLE(OILPAN) |
- virtual void ref() OVERRIDE { m_rule->ref(); } |
- virtual void deref() OVERRIDE { m_rule->deref(); } |
+ virtual void ref() override { m_rule->ref(); } |
+ virtual void deref() override { m_rule->deref(); } |
#endif |
- virtual void trace(Visitor* visitor) OVERRIDE |
+ virtual void trace(Visitor* visitor) override |
{ |
visitor->trace(m_rule); |
CSSRuleList::trace(visitor); |
@@ -109,9 +109,9 @@ public: |
private: |
LiveCSSRuleList(Rule* rule) : m_rule(rule) { } |
- virtual unsigned length() const OVERRIDE { return m_rule->length(); } |
- virtual CSSRule* item(unsigned index) const OVERRIDE { return m_rule->item(index); } |
- virtual CSSStyleSheet* styleSheet() const OVERRIDE { return m_rule->parentStyleSheet(); } |
+ virtual unsigned length() const override { return m_rule->length(); } |
+ virtual CSSRule* item(unsigned index) const override { return m_rule->item(index); } |
+ virtual CSSStyleSheet* styleSheet() const override { return m_rule->parentStyleSheet(); } |
RawPtrWillBeMember<Rule> m_rule; |
}; |