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

Unified Diff: Source/core/dom/ChildNodeList.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/CharacterData.h ('k') | Source/core/dom/ClassCollection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ChildNodeList.h
diff --git a/Source/core/dom/ChildNodeList.h b/Source/core/dom/ChildNodeList.h
index 4a126f5dd66c349f1a7b1a15bbfa01ad0b855bdf..ddeda6b063f49cdf5663544615f3267c6b53d842 100644
--- a/Source/core/dom/ChildNodeList.h
+++ b/Source/core/dom/ChildNodeList.h
@@ -39,11 +39,11 @@ public:
return adoptRefWillBeNoop(new ChildNodeList(rootNode));
}
- virtual ~ChildNodeList();
+ ~ChildNodeList() override;
// DOM API.
- virtual unsigned length() const override { return m_collectionIndexCache.nodeCount(*this); }
- virtual Node* item(unsigned index) const override { return m_collectionIndexCache.nodeAt(*this, index); }
+ unsigned length() const override { return m_collectionIndexCache.nodeCount(*this); }
+ Node* item(unsigned index) const override { return m_collectionIndexCache.nodeAt(*this, index); }
// Non-DOM API.
void invalidateCache() { m_collectionIndexCache.invalidate(); }
@@ -63,8 +63,8 @@ public:
private:
explicit ChildNodeList(ContainerNode& rootNode);
- virtual bool isChildNodeList() const override { return true; }
- virtual Node* virtualOwnerNode() const override;
+ bool isChildNodeList() const override { return true; }
+ Node* virtualOwnerNode() const override;
RefPtrWillBeMember<ContainerNode> m_parent;
mutable CollectionIndexCache<ChildNodeList, Node> m_collectionIndexCache;
« no previous file with comments | « Source/core/dom/CharacterData.h ('k') | Source/core/dom/ClassCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698