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

Unified Diff: Source/core/xml/parser/XMLDocumentParser.h

Issue 637483002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/xml (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 | « Source/core/xml/XSLStyleSheet.h ('k') | Source/core/xml/parser/XMLDocumentParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/xml/XSLStyleSheet.h ('k') | Source/core/xml/parser/XMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698