Bug 612568 - Drop nsIContent handles when finished parsing a fragment. r=Olli.Pettay, a=jst.
This commit is contained in:
@@ -498,6 +498,7 @@ nsHtml5Parser::ParseHtml5Fragment(const nsAString& aSourceBuffer,
|
||||
mTokenizer->end();
|
||||
mExecutor->DropParserAndPerfHint();
|
||||
mExecutor->DropHeldElements();
|
||||
mTreeBuilder->DropHandles();
|
||||
mAtomTable.Clear();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user