Index: Source/core/xml/parser/XMLDocumentParser.h |
diff --git a/Source/core/xml/parser/XMLDocumentParser.h b/Source/core/xml/parser/XMLDocumentParser.h |
index 0732fca3595f967315282e8dca3ada2ea6bcf17d..75b30e78ead7fe8084b298b92d3c8d140f6e24f1 100644 |
--- a/Source/core/xml/parser/XMLDocumentParser.h |
+++ b/Source/core/xml/parser/XMLDocumentParser.h |
@@ -65,7 +65,7 @@ private: |
xmlParserCtxtPtr m_context; |
}; |
-class XMLDocumentParser FINAL : public ScriptableDocumentParser, public ScriptResourceClient { |
+class XMLDocumentParser final : public ScriptableDocumentParser, public ScriptResourceClient { |
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
public: |
static PassRefPtrWillBeRawPtr<XMLDocumentParser> create(Document& document, FrameView* view) |
@@ -77,7 +77,7 @@ public: |
return adoptRefWillBeNoop(new XMLDocumentParser(fragment, element, parserContentPolicy)); |
} |
virtual ~XMLDocumentParser(); |
- virtual void trace(Visitor*) OVERRIDE; |
+ virtual void trace(Visitor*) override; |
// Exposed for callbacks: |
void handleError(XMLErrors::ErrorType, const char* message, TextPosition); |
@@ -90,9 +90,9 @@ public: |
static bool parseDocumentFragment(const String&, DocumentFragment*, Element* parent = 0, ParserContentPolicy = AllowScriptingContent); |
// Used by the XMLHttpRequest to check if the responseXML was well formed. |
- virtual bool wellFormed() const OVERRIDE { return !m_sawError; } |
+ virtual bool wellFormed() const override { return !m_sawError; } |
- virtual TextPosition textPosition() const OVERRIDE; |
+ virtual TextPosition textPosition() const override; |
static bool supportsXMLVersion(const String&); |
@@ -107,17 +107,17 @@ private: |
XMLDocumentParser(DocumentFragment*, Element*, ParserContentPolicy); |
// From DocumentParser |
- virtual void insert(const SegmentedString&) OVERRIDE; |
- virtual void append(PassRefPtr<StringImpl>) OVERRIDE; |
- virtual void finish() OVERRIDE; |
- virtual bool isWaitingForScripts() const OVERRIDE; |
- virtual void stopParsing() OVERRIDE; |
- virtual void detach() OVERRIDE; |
- virtual OrdinalNumber lineNumber() const OVERRIDE; |
+ virtual void insert(const SegmentedString&) override; |
+ virtual void append(PassRefPtr<StringImpl>) override; |
+ virtual void finish() override; |
+ virtual bool isWaitingForScripts() const override; |
+ virtual void stopParsing() override; |
+ virtual void detach() override; |
+ virtual OrdinalNumber lineNumber() const override; |
OrdinalNumber columnNumber() const; |
// from ResourceClient |
- virtual void notifyFinished(Resource*) OVERRIDE; |
+ virtual void notifyFinished(Resource*) override; |
void end(); |