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

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

Issue 1219063013: Fix virtual/override/final usage in Source/core/dom/. (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 | « Source/core/dom/Element.h ('k') | Source/core/dom/ExecutionContextTask.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/EmptyNodeList.h
diff --git a/Source/core/dom/EmptyNodeList.h b/Source/core/dom/EmptyNodeList.h
index 4799bd60b695a7890bc38ee4e352d2ee28e8c6d7..4fbfc6585b9fd82d945d10cebb249236ebe8665d 100644
--- a/Source/core/dom/EmptyNodeList.h
+++ b/Source/core/dom/EmptyNodeList.h
@@ -43,7 +43,7 @@ public:
{
return adoptRefWillBeNoop(new EmptyNodeList(rootNode));
}
- virtual ~EmptyNodeList();
+ ~EmptyNodeList() override;
Node& ownerNode() const { return *m_owner; }
@@ -52,11 +52,11 @@ public:
private:
explicit EmptyNodeList(Node& rootNode) : m_owner(rootNode) { }
- virtual unsigned length() const override { return 0; }
- virtual Node* item(unsigned) const override { return 0; }
+ unsigned length() const override { return 0; }
+ Node* item(unsigned) const override { return 0; }
- virtual bool isEmptyNodeList() const override { return true; }
- virtual Node* virtualOwnerNode() const override;
+ bool isEmptyNodeList() const override { return true; }
+ Node* virtualOwnerNode() const override;
RefPtrWillBeMember<Node> m_owner;
};
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/dom/ExecutionContextTask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698