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

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

Issue 633573004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom (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 | « Source/core/dom/ChildListMutationScope.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 c3b8ffbf5dd9636fba4ab092373a8e3e2943fe79..f4bbbcd0750ecbe8749106d84d9969648a48baf6 100644
--- a/Source/core/dom/ChildNodeList.h
+++ b/Source/core/dom/ChildNodeList.h
@@ -32,7 +32,7 @@
namespace blink {
-class ChildNodeList FINAL : public NodeList {
+class ChildNodeList final : public NodeList {
public:
static PassRefPtrWillBeRawPtr<ChildNodeList> create(ContainerNode& rootNode)
{
@@ -42,8 +42,8 @@ public:
virtual ~ChildNodeList();
// 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); }
+ virtual unsigned length() const override { return m_collectionIndexCache.nodeCount(*this); }
+ virtual Node* item(unsigned index) const override { return m_collectionIndexCache.nodeAt(*this, index); }
// Non-DOM API.
void invalidateCache() { m_collectionIndexCache.invalidate(); }
@@ -58,13 +58,13 @@ public:
Node* traverseForwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset) const;
Node* traverseBackwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset) const;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
explicit ChildNodeList(ContainerNode& rootNode);
- virtual bool isChildNodeList() const OVERRIDE { return true; }
- virtual Node* virtualOwnerNode() const OVERRIDE;
+ virtual bool isChildNodeList() const override { return true; }
+ virtual Node* virtualOwnerNode() const override;
RefPtrWillBeMember<ContainerNode> m_parent;
mutable CollectionIndexCache<ChildNodeList, Node> m_collectionIndexCache;
« no previous file with comments | « Source/core/dom/ChildListMutationScope.h ('k') | Source/core/dom/ClassCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698