Index: Source/core/dom/Comment.h |
diff --git a/Source/core/dom/Comment.h b/Source/core/dom/Comment.h |
index c9f13141952e46dddc4de3128dc1d0212fd78c76..97c56c9572a5bd331f1edfd0afc029679ae5cba9 100644 |
--- a/Source/core/dom/Comment.h |
+++ b/Source/core/dom/Comment.h |
@@ -27,7 +27,7 @@ |
namespace blink { |
-class Comment FINAL : public CharacterData { |
+class Comment final : public CharacterData { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
static PassRefPtrWillBeRawPtr<Comment> create(Document&, const String&); |
@@ -35,9 +35,9 @@ public: |
private: |
Comment(Document&, const String&); |
- virtual String nodeName() const OVERRIDE; |
- virtual NodeType nodeType() const OVERRIDE; |
- virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) OVERRIDE; |
+ virtual String nodeName() const override; |
+ virtual NodeType nodeType() const override; |
+ virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) override; |
}; |
DEFINE_NODE_TYPE_CASTS(Comment, nodeType() == Node::COMMENT_NODE); |