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

Unified Diff: Source/core/dom/LiveNodeList.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/Fullscreen.h ('k') | Source/core/dom/MainThreadTaskRunnerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/LiveNodeList.h
diff --git a/Source/core/dom/LiveNodeList.h b/Source/core/dom/LiveNodeList.h
index a254534204a712f756449af4ad1b1313efbffc83..59011a2a97c78ef0a20d204644a76e7a763f43bf 100644
--- a/Source/core/dom/LiveNodeList.h
+++ b/Source/core/dom/LiveNodeList.h
@@ -41,11 +41,11 @@ public:
LiveNodeList(ContainerNode& ownerNode, CollectionType collectionType, NodeListInvalidationType invalidationType, NodeListRootType rootType = NodeListIsRootedAtNode)
: LiveNodeListBase(ownerNode, rootType, invalidationType, collectionType) { }
- virtual unsigned length() const override final;
- virtual Element* item(unsigned offset) const override final;
+ unsigned length() const final;
+ Element* item(unsigned offset) const final;
virtual bool elementMatches(const Element&) const = 0;
- virtual void invalidateCache(Document* oldDocument = 0) const override final;
+ void invalidateCache(Document* oldDocument = 0) const final;
void invalidateCacheForAttribute(const QualifiedName*) const;
// Collection IndexCache API.
@@ -58,7 +58,7 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- virtual Node* virtualOwnerNode() const override final;
+ Node* virtualOwnerNode() const final;
mutable CollectionItemsCache<LiveNodeList, Element> m_collectionItemsCache;
};
« no previous file with comments | « Source/core/dom/Fullscreen.h ('k') | Source/core/dom/MainThreadTaskRunnerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698