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

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

Issue 121793005: Mark localName() / prefix() / namespaceURI() virtual methods as FINAL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 8e14d196069971383361cdfa6ab374e207d31af1..93c19895bae3aec6e8c7252425e8308a139affc4 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -229,9 +229,9 @@ public:
bool hasLocalName(const AtomicString& other) const { return m_tagName.localName() == other; }
bool hasLocalName(const QualifiedName& other) const { return m_tagName.localName() == other.localName(); }
- virtual const AtomicString& localName() const OVERRIDE { return m_tagName.localName(); }
- virtual const AtomicString& prefix() const OVERRIDE { return m_tagName.prefix(); }
- virtual const AtomicString& namespaceURI() const OVERRIDE { return m_tagName.namespaceURI(); }
+ virtual const AtomicString& localName() const OVERRIDE FINAL { return m_tagName.localName(); }
+ virtual const AtomicString& prefix() const OVERRIDE FINAL { return m_tagName.prefix(); }
+ virtual const AtomicString& namespaceURI() const OVERRIDE FINAL { return m_tagName.namespaceURI(); }
virtual KURL baseURI() const OVERRIDE FINAL;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698