Index: Source/core/editing/markup.cpp |
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp |
index 817bc5f22021fe936ec89fc824f1da30b57b563f..34f55fe0fd8c21ac3748b52c5dc0173f6dc3a380 100644 |
--- a/Source/core/editing/markup.cpp |
+++ b/Source/core/editing/markup.cpp |
@@ -128,7 +128,7 @@ static void completeURLs(DocumentFragment& fragment, const String& baseURL) |
changes[i].apply(); |
} |
-class StyledMarkupAccumulator FINAL : public MarkupAccumulator { |
+class StyledMarkupAccumulator final : public MarkupAccumulator { |
public: |
enum RangeFullySelectsNode { DoesFullySelectNode, DoesNotFullySelectNode }; |
@@ -142,11 +142,11 @@ public: |
private: |
void appendStyleNodeOpenTag(StringBuilder&, StylePropertySet*, const Document&, bool isBlock = false); |
const String& styleNodeCloseTag(bool isBlock = false); |
- virtual void appendText(StringBuilder& out, Text&) OVERRIDE; |
+ virtual void appendText(StringBuilder& out, Text&) override; |
String renderedText(Node&, const Range*); |
String stringValueForRange(const Node&, const Range*); |
void appendElement(StringBuilder& out, Element&, bool addDisplayInline, RangeFullySelectsNode); |
- virtual void appendElement(StringBuilder& out, Element& element, Namespaces*) OVERRIDE { appendElement(out, element, false, DoesFullySelectNode); } |
+ virtual void appendElement(StringBuilder& out, Element& element, Namespaces*) override { appendElement(out, element, false, DoesFullySelectNode); } |
enum NodeTraversalMode { EmitString, DoNotEmitString }; |
Node* traverseNodesForSerialization(Node* startNode, Node* pastEnd, NodeTraversalMode); |