Bug 538193 - Copy over content model element and content model element name when loading state from another HTML5 tokenizer. rs=sicking.

This commit is contained in:
Henri Sivonen
2010-01-11 15:18:37 +02:00
parent a91159e017
commit 4aba789c4d

View File

@@ -3904,6 +3904,8 @@ nsHtml5Tokenizer::loadState(nsHtml5Tokenizer* other)
nsHtml5ArrayCopy::arraycopy(other->longStrBuf, longStrBuf, longStrBufLen);
stateSave = other->stateSave;
returnStateSave = other->returnStateSave;
contentModelElement = other->contentModelElement;
contentModelElementNameAsArray = other->contentModelElementNameAsArray;
lastCR = other->lastCR;
index = other->index;
forceQuirks = other->forceQuirks;