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

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

Issue 126633004: Update DOM classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/dom/DOMSettableTokenList.h ('k') | Source/core/dom/DecodedDataDocumentParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DatasetDOMStringMap.h
diff --git a/Source/core/dom/DatasetDOMStringMap.h b/Source/core/dom/DatasetDOMStringMap.h
index 7b4177ee3ece5c6a0952c197d7f1ae79d6f4c5d9..9d2220f237ff6a7066520bb3e7aee371379b2c7b 100644
--- a/Source/core/dom/DatasetDOMStringMap.h
+++ b/Source/core/dom/DatasetDOMStringMap.h
@@ -34,23 +34,23 @@ namespace WebCore {
class Element;
class ExceptionState;
-class DatasetDOMStringMap : public DOMStringMap {
+class DatasetDOMStringMap FINAL : public DOMStringMap {
public:
static PassOwnPtr<DatasetDOMStringMap> create(Element* element)
{
return adoptPtr(new DatasetDOMStringMap(element));
}
- virtual void ref();
- virtual void deref();
+ virtual void ref() OVERRIDE;
+ virtual void deref() OVERRIDE;
- virtual void getNames(Vector<String>&);
- virtual String item(const String& name);
- virtual bool contains(const String& name);
- virtual void setItem(const String& name, const String& value, ExceptionState&);
- virtual bool deleteItem(const String& name);
+ virtual void getNames(Vector<String>&) OVERRIDE;
+ virtual String item(const String& name) OVERRIDE;
+ virtual bool contains(const String& name) OVERRIDE;
+ virtual void setItem(const String& name, const String& value, ExceptionState&) OVERRIDE;
+ virtual bool deleteItem(const String& name) OVERRIDE;
- virtual Element* element() { return m_element; }
+ virtual Element* element() OVERRIDE { return m_element; }
private:
explicit DatasetDOMStringMap(Element* element)
« no previous file with comments | « Source/core/dom/DOMSettableTokenList.h ('k') | Source/core/dom/DecodedDataDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698