Bug 535499 - Copy the return state over when loading HTML5 tokenizer state from another tokenizer. rs=sicking.

This commit is contained in:
Henri Sivonen
2009-12-17 12:15:08 +02:00
parent b81a888cb2
commit 8018efe3c3

View File

@@ -3903,6 +3903,7 @@ nsHtml5Tokenizer::loadState(nsHtml5Tokenizer* other)
}
nsHtml5ArrayCopy::arraycopy(other->longStrBuf, longStrBuf, longStrBufLen);
stateSave = other->stateSave;
returnStateSave = other->returnStateSave;
lastCR = other->lastCR;
index = other->index;
forceQuirks = other->forceQuirks;