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

Unified Diff: Source/core/html/ClassList.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (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 | « no previous file | Source/core/html/DOMFormData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/ClassList.h
diff --git a/Source/core/html/ClassList.h b/Source/core/html/ClassList.h
index dd3222117954a1aa1af6e1fbda740b1769102296..cce2a27c85c418a6b37767a3f26979514526b0c6 100644
--- a/Source/core/html/ClassList.h
+++ b/Source/core/html/ClassList.h
@@ -38,7 +38,7 @@ class Element;
typedef int ExceptionCode;
-class ClassList FINAL : public DOMTokenList {
+class ClassList final : public DOMTokenList {
public:
static PassOwnPtrWillBeRawPtr<ClassList> create(Element* element)
{
@@ -46,28 +46,28 @@ public:
}
#if !ENABLE(OILPAN)
- virtual void ref() OVERRIDE;
- virtual void deref() OVERRIDE;
+ virtual void ref() override;
+ virtual void deref() override;
#endif
- virtual unsigned length() const OVERRIDE;
- virtual const AtomicString item(unsigned index) const OVERRIDE;
+ virtual unsigned length() const override;
+ virtual const AtomicString item(unsigned index) const override;
- virtual Element* element() OVERRIDE { return m_element; }
+ virtual Element* element() override { return m_element; }
void clearValueForQuirksMode() { m_classNamesForQuirksMode = nullptr; }
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
explicit ClassList(Element*);
- virtual bool containsInternal(const AtomicString&) const OVERRIDE;
+ virtual bool containsInternal(const AtomicString&) const override;
const SpaceSplitString& classNames() const;
- virtual const AtomicString& value() const OVERRIDE { return m_element->getAttribute(HTMLNames::classAttr); }
- virtual void setValue(const AtomicString& value) OVERRIDE { m_element->setAttribute(HTMLNames::classAttr, value); }
+ virtual const AtomicString& value() const override { return m_element->getAttribute(HTMLNames::classAttr); }
+ virtual void setValue(const AtomicString& value) override { m_element->setAttribute(HTMLNames::classAttr, value); }
RawPtrWillBeMember<Element> m_element;
mutable OwnPtr<SpaceSplitString> m_classNamesForQuirksMode;
« no previous file with comments | « no previous file | Source/core/html/DOMFormData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698