Bug 1749935 - Remove nsDTDMode::eDTDMode_unknown and unused nsDTDMode::eDTDMode_almost_standards/eDTDMode_fragment. r=hsivonen

Differential Revision: https://phabricator.services.mozilla.com/D135846
This commit is contained in:
Peter Van der Beken
2022-02-14 13:03:46 +00:00
parent aa4ad45a9b
commit 1d61f34f4a
8 changed files with 13 additions and 28 deletions

View File

@@ -1120,7 +1120,7 @@ nsresult nsHtml5StreamParser::OnStartRequest(nsIRequest* aRequest) {
* WillBuildModel to be called before the document has had its
* script global object set.
*/
rv = mExecutor->WillBuildModel(eDTDMode_unknown);
rv = mExecutor->WillBuildModel();
NS_ENSURE_SUCCESS(rv, rv);
RefPtr<nsHtml5OwningUTF16Buffer> newBuf =