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

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

Issue 1224823006: Fix virtual/override/final usage in Source/core/xml/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 0335888adffd15a0a39369e6463bc1dbd9d08d2a..2923790b27b41382d7eba64bf75fa086b5189827 100644
--- a/Source/core/xml/parser/XMLDocumentParser.h
+++ b/Source/core/xml/parser/XMLDocumentParser.h
@@ -76,7 +76,7 @@ public:
{
return adoptRefWillBeNoop(new XMLDocumentParser(fragment, element, parserContentPolicy));
}
- virtual ~XMLDocumentParser();
+ ~XMLDocumentParser() override;
DECLARE_VIRTUAL_TRACE();
// Exposed for callbacks:
@@ -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; }
+ bool wellFormed() const override { return !m_sawError; }
- virtual TextPosition textPosition() const override;
+ 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(const String&) override;
- virtual void finish() override;
- virtual bool isWaitingForScripts() const override;
- virtual void stopParsing() override;
- virtual void detach() override;
- virtual OrdinalNumber lineNumber() const override;
+ void insert(const SegmentedString&) override;
+ void append(const String&) override;
+ void finish() override;
+ bool isWaitingForScripts() const override;
+ void stopParsing() override;
+ void detach() override;
+ OrdinalNumber lineNumber() const override;
OrdinalNumber columnNumber() const;
// from ResourceClient
- virtual void notifyFinished(Resource*) override;
+ 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