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

Unified Diff: Source/core/dom/DecodedDataDocumentParser.h

Issue 1219063013: Fix virtual/override/final usage in Source/core/dom/. (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/dom/DatasetDOMStringMap.h ('k') | Source/core/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DecodedDataDocumentParser.h
diff --git a/Source/core/dom/DecodedDataDocumentParser.h b/Source/core/dom/DecodedDataDocumentParser.h
index 5c106f91e1e199fc0046d3ed01c9b852e5f49f2b..34fcae2cfb63ef12338bb328d48e82099b19a50f 100644
--- a/Source/core/dom/DecodedDataDocumentParser.h
+++ b/Source/core/dom/DecodedDataDocumentParser.h
@@ -39,17 +39,17 @@ public:
virtual bool wellFormed() const { return true; }
// The below functions are used by DocumentWriter (the loader).
- virtual void appendBytes(const char* bytes, size_t length) override;
- virtual void flush() override;
- virtual bool needsDecoder() const override final { return m_needsDecoder; }
- virtual void setDecoder(PassOwnPtr<TextResourceDecoder>) override;
- virtual TextResourceDecoder* decoder() override final;
+ void appendBytes(const char* bytes, size_t length) override;
+ void flush() override;
+ bool needsDecoder() const final { return m_needsDecoder; }
+ void setDecoder(PassOwnPtr<TextResourceDecoder>) override;
+ TextResourceDecoder* decoder() final;
PassOwnPtr<TextResourceDecoder> takeDecoder();
protected:
explicit DecodedDataDocumentParser(Document&);
- virtual ~DecodedDataDocumentParser();
+ ~DecodedDataDocumentParser() override;
private:
void updateDocument(String& decodedData);
« no previous file with comments | « Source/core/dom/DatasetDOMStringMap.h ('k') | Source/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698