diff --git a/layout/base/src/nsFrameUtil.cpp b/layout/base/src/nsFrameUtil.cpp index dd7d0b88ad38..ebd2ee14a0e6 100644 --- a/layout/base/src/nsFrameUtil.cpp +++ b/layout/base/src/nsFrameUtil.cpp @@ -496,7 +496,7 @@ nsFrameUtil::LoadFrameRegressionData(nsIURL* aURL, nsIXMLContent** aResult) NS_NewWellFormed_DTD(&theDTD); parser->RegisterDTD(theDTD); parser->SetContentSink(sink); - parser->Parse(theWholeDarnThing, PR_FALSE); + parser->Parse(theWholeDarnThing, PR_FALSE, PR_FALSE, PR_TRUE); NS_RELEASE(parser); *aResult = sink->GetRoot(); diff --git a/layout/generic/nsFrameUtil.cpp b/layout/generic/nsFrameUtil.cpp index dd7d0b88ad38..ebd2ee14a0e6 100644 --- a/layout/generic/nsFrameUtil.cpp +++ b/layout/generic/nsFrameUtil.cpp @@ -496,7 +496,7 @@ nsFrameUtil::LoadFrameRegressionData(nsIURL* aURL, nsIXMLContent** aResult) NS_NewWellFormed_DTD(&theDTD); parser->RegisterDTD(theDTD); parser->SetContentSink(sink); - parser->Parse(theWholeDarnThing, PR_FALSE); + parser->Parse(theWholeDarnThing, PR_FALSE, PR_FALSE, PR_TRUE); NS_RELEASE(parser); *aResult = sink->GetRoot();