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

Unified Diff: Source/core/dom/Attr.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 | « no previous file | Source/core/dom/CDATASection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Attr.h
diff --git a/Source/core/dom/Attr.h b/Source/core/dom/Attr.h
index c7716764e5c34cfc92aef3e2aa1ac22522363db9..1167e2906c80b4020bf0e7040173d00559b7f6ca 100644
--- a/Source/core/dom/Attr.h
+++ b/Source/core/dom/Attr.h
@@ -36,7 +36,7 @@ namespace blink {
// resulting nodevalue in the attribute upon
// destruction. however, this is not yet implemented.
-class Attr FINAL : public ContainerNode {
+class Attr final : public ContainerNode {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<Attr> create(Element&, const QualifiedName&);
@@ -58,11 +58,11 @@ public:
void attachToElement(Element*, const AtomicString&);
void detachFromElementWithValue(const AtomicString&);
- virtual const AtomicString& localName() const OVERRIDE { return m_name.localName(); }
- virtual const AtomicString& namespaceURI() const OVERRIDE { return m_name.namespaceURI(); }
+ virtual const AtomicString& localName() const override { return m_name.localName(); }
+ virtual const AtomicString& namespaceURI() const override { return m_name.namespaceURI(); }
const AtomicString& prefix() const { return m_name.prefix(); }
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
Attr(Element&, const QualifiedName&);
@@ -74,17 +74,17 @@ private:
void setValueInternal(const AtomicString&);
- virtual String nodeName() const OVERRIDE { return name(); }
- virtual NodeType nodeType() const OVERRIDE { return ATTRIBUTE_NODE; }
+ virtual String nodeName() const override { return name(); }
+ virtual NodeType nodeType() const override { return ATTRIBUTE_NODE; }
- virtual String nodeValue() const OVERRIDE { return value(); }
- virtual void setNodeValue(const String&) OVERRIDE;
- virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) OVERRIDE;
+ virtual String nodeValue() const override { return value(); }
+ virtual void setNodeValue(const String&) override;
+ virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) override;
- virtual bool isAttributeNode() const OVERRIDE { return true; }
- virtual bool childTypeAllowed(NodeType) const OVERRIDE;
+ virtual bool isAttributeNode() const override { return true; }
+ virtual bool childTypeAllowed(NodeType) const override;
- virtual void childrenChanged(const ChildrenChange&) OVERRIDE;
+ virtual void childrenChanged(const ChildrenChange&) override;
Attribute& elementAttribute();
« no previous file with comments | « no previous file | Source/core/dom/CDATASection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698