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

Unified Diff: third_party/WebKit/Source/core/dom/RawDataDocumentParser.h

Issue 1604903004: Remove DocumentParser::flush which is not used by anyone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « third_party/WebKit/Source/core/dom/DocumentParser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/RawDataDocumentParser.h
diff --git a/third_party/WebKit/Source/core/dom/RawDataDocumentParser.h b/third_party/WebKit/Source/core/dom/RawDataDocumentParser.h
index 6f7c7edf1119ab023b028516bd9b0092513fa11f..9435f7f11e273ebf62f67fef1ae06058f3aace24 100644
--- a/third_party/WebKit/Source/core/dom/RawDataDocumentParser.h
+++ b/third_party/WebKit/Source/core/dom/RawDataDocumentParser.h
@@ -45,17 +45,9 @@ protected:
}
private:
- void flush() override
- {
- // Make sure appendBytes is called at least once.
- appendBytes(0, 0);
- }
-
- void insert(const SegmentedString&) override
- {
- }
+ void insert(const SegmentedString&) final {}
- void append(const String&) override
+ void append(const String&) final
{
ASSERT_NOT_REACHED();
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentParser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698