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

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

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/FormAssociatedElement.cpp » ('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 be76bc1d1e2c985a6c5697471b8831f29d4df260..3227520e916b532424f409138b274e94653c1560 100644
--- a/Source/core/html/ClassList.h
+++ b/Source/core/html/ClassList.h
@@ -46,14 +46,14 @@ public:
}
#if !ENABLE(OILPAN)
- virtual void ref() override;
- virtual void deref() override;
+ void ref() override;
+ void deref() override;
#endif
- virtual unsigned length() const override;
- virtual const AtomicString item(unsigned index) const override;
+ unsigned length() const override;
+ const AtomicString item(unsigned index) const override;
- virtual Element* element() override { return m_element; }
+ Element* element() override { return m_element; }
void clearValueForQuirksMode() { m_classNamesForQuirksMode = nullptr; }
@@ -62,12 +62,12 @@ public:
private:
explicit ClassList(Element*);
- virtual bool containsInternal(const AtomicString&) const override;
+ 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); }
+ const AtomicString& value() const override { return m_element->getAttribute(HTMLNames::classAttr); }
+ 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/FormAssociatedElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698