mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1516754 - P1. Reset Pending Input Buffer during Reset Parser State Algorithm. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D18651 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
bdaa5d90e4
commit
6e021f1b1f
@ -447,6 +447,7 @@ void TrackBuffersManager::CompleteResetParserState() {
|
||||
}
|
||||
|
||||
// 7. Remove all bytes from the input buffer.
|
||||
mPendingInputBuffer = nullptr;
|
||||
mInputBuffer = nullptr;
|
||||
if (mCurrentInputBuffer) {
|
||||
mCurrentInputBuffer->EvictAll();
|
||||
|
Loading…
Reference in New Issue
Block a user