Bug 1826067 - Fix non-unified-build bustage in parser/htmlparser/nsScanner.cpp; r=sergesanspaille

Differential Revision: https://phabricator.services.mozilla.com/D174448
This commit is contained in:
Jan Varga 2023-04-03 12:59:14 +00:00
parent fa66f074e1
commit bf5285ba85

View file

@ -215,7 +215,7 @@ nsresult nsScanner::Append(const char* aBuffer, uint32_t aLen) {
AsBytes(mozilla::Span(aBuffer, aLen)),
mozilla::Span(unichars, needed.value()),
false); // Retain bug about failure to handle EOF
MOZ_ASSERT(result != kOutputFull);
MOZ_ASSERT(result != mozilla::kOutputFull);
MOZ_ASSERT(read <= aLen);
MOZ_ASSERT(written <= needed.value());
if (result != mozilla::kInputEmpty) {