summaryrefslogtreecommitdiff
path: root/chromium/third_party/WebKit/Source/core/dom/NameNodeList.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/dom/NameNodeList.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/dom/NameNodeList.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/core/dom/NameNodeList.h b/chromium/third_party/WebKit/Source/core/dom/NameNodeList.h
index 96bcac439d6..5a595d8d9a3 100644
--- a/chromium/third_party/WebKit/Source/core/dom/NameNodeList.h
+++ b/chromium/third_party/WebKit/Source/core/dom/NameNodeList.h
@@ -31,7 +31,7 @@
namespace WebCore {
// NodeList which lists all Nodes in a Element with a given "name" attribute
-class NameNodeList : public LiveNodeList {
+class NameNodeList FINAL : public LiveNodeList {
public:
static PassRefPtr<NameNodeList> create(PassRefPtr<Node> rootNode, CollectionType type, const AtomicString& name)
{
@@ -44,7 +44,7 @@ public:
private:
NameNodeList(PassRefPtr<Node> rootNode, const AtomicString& name);
- virtual bool nodeMatches(Element*) const;
+ virtual bool nodeMatches(Element*) const OVERRIDE;
AtomicString m_name;
};