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
Родитель 65c41762cd
Коммит e7d983dea3
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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;