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

Unified Diff: Source/core/dom/DOMSettableTokenList.h

Issue 633573004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom (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/dom/DOMRect.h ('k') | Source/core/dom/DOMStringList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMSettableTokenList.h
diff --git a/Source/core/dom/DOMSettableTokenList.h b/Source/core/dom/DOMSettableTokenList.h
index f4db0408e5a960770b0ed663e6882bd36b776fe0..66d74643003405073a44ce868a29ef92fc836040 100644
--- a/Source/core/dom/DOMSettableTokenList.h
+++ b/Source/core/dom/DOMSettableTokenList.h
@@ -35,7 +35,7 @@ namespace blink {
class ExceptionState;
-class DOMSettableTokenList FINAL
+class DOMSettableTokenList final
: public DOMTokenList
#if !ENABLE(OILPAN)
, public RefCounted<DOMSettableTokenList>
@@ -51,18 +51,18 @@ public:
virtual ~DOMSettableTokenList();
#if !ENABLE(OILPAN)
- virtual void ref() OVERRIDE { RefCounted<DOMSettableTokenList>::ref(); }
- virtual void deref() OVERRIDE { RefCounted<DOMSettableTokenList>::deref(); }
+ virtual void ref() override { RefCounted<DOMSettableTokenList>::ref(); }
+ virtual void deref() override { RefCounted<DOMSettableTokenList>::deref(); }
#endif
- virtual unsigned length() const OVERRIDE { return m_tokens.size(); }
- virtual const AtomicString item(unsigned index) const OVERRIDE;
+ virtual unsigned length() const override { return m_tokens.size(); }
+ virtual const AtomicString item(unsigned index) const override;
- virtual void add(const Vector<String>&, ExceptionState&) OVERRIDE;
- virtual void remove(const Vector<String>&, ExceptionState&) OVERRIDE;
+ virtual void add(const Vector<String>&, ExceptionState&) override;
+ virtual void remove(const Vector<String>&, ExceptionState&) override;
- virtual const AtomicString& value() const OVERRIDE { return m_value; }
- virtual void setValue(const AtomicString&) OVERRIDE;
+ virtual const AtomicString& value() const override { return m_value; }
+ virtual void setValue(const AtomicString&) override;
const SpaceSplitString& tokens() const { return m_tokens; }
@@ -70,9 +70,9 @@ protected:
DOMSettableTokenList();
private:
- virtual void addInternal(const AtomicString&) OVERRIDE;
- virtual bool containsInternal(const AtomicString&) const OVERRIDE;
- virtual void removeInternal(const AtomicString&) OVERRIDE;
+ virtual void addInternal(const AtomicString&) override;
+ virtual bool containsInternal(const AtomicString&) const override;
+ virtual void removeInternal(const AtomicString&) override;
AtomicString m_value;
SpaceSplitString m_tokens;
« no previous file with comments | « Source/core/dom/DOMRect.h ('k') | Source/core/dom/DOMStringList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698