DescriptionDocumentParser should flush itself on finish().
Before this patch, |DocumentParser| user had to explicitly
call |flush()| before calling |finish()| to flush any bytes that
may be remaining inside |m_decoder|.
This patch moves |DocumentParser::flush| call inside |finish()|
overrides, and makes |DocumentParser::flush| protected as this
method no longer needs to be called by user.
BUG=404107
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180569
Patch Set 1 #
Total comments: 4
Patch Set 2 : compile fix #Patch Set 3 : needs finish event when stopped #
Messages
Total messages: 16 (0 generated)
|