Backed out changeset 2e7615b554ee (bug 1355441) for crashing at nsHtml5TreeBuilder::getUnusedStackNode() intermittent failures
This commit is contained in:
@@ -220,9 +220,6 @@ nsHtml5StreamParser::nsHtml5StreamParser(nsHtml5TreeOpExecutor* aExecutor,
|
||||
nsHtml5StreamParser::~nsHtml5StreamParser()
|
||||
{
|
||||
NS_ASSERTION(NS_IsMainThread(), "Wrong thread!");
|
||||
// mSpeculations may contain StateSnapshot holding StackNodes that we
|
||||
// want to free when the tokenizer ends, so clear the speculations first.
|
||||
mSpeculations.Clear();
|
||||
mTokenizer->end();
|
||||
#ifdef DEBUG
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user