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

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

Issue 473203002: DocumentParser should flush itself on finish (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: needs finish event when stopped Created 6 years, 4 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 | « no previous file | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentParser.h
diff --git a/Source/core/dom/DocumentParser.h b/Source/core/dom/DocumentParser.h
index 83de2a4c95d46b014425dfdca6c1882c476df7b2..51a4731eaa7ea04fe6aef7e3b0d60af71509fdfd 100644
--- a/Source/core/dom/DocumentParser.h
+++ b/Source/core/dom/DocumentParser.h
@@ -50,7 +50,6 @@ public:
// The below functions are used by DocumentWriter (the loader).
virtual void appendBytes(const char* bytes, size_t length) = 0;
- virtual void flush() = 0;
virtual bool needsDecoder() const { return false; }
virtual void setDecoder(PassOwnPtr<TextResourceDecoder>);
virtual TextResourceDecoder* decoder();
@@ -107,6 +106,8 @@ public:
protected:
explicit DocumentParser(Document*);
+ virtual void flush() = 0;
+
private:
enum ParserState {
ParsingState,
« no previous file with comments | « no previous file | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698