From 153906c21efd4a11ea3ec1445dcbc1f43fd46896 Mon Sep 17 00:00:00 2001 From: Henri Sivonen Date: Thu, 17 Dec 2009 12:15:08 +0200 Subject: [PATCH] Bug 535499 - Copy the return state over when loading HTML5 tokenizer state from another tokenizer. rs=sicking. --- parser/html/nsHtml5Tokenizer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/parser/html/nsHtml5Tokenizer.cpp b/parser/html/nsHtml5Tokenizer.cpp index 3ad991c89b4..624fe26a6d5 100644 --- a/parser/html/nsHtml5Tokenizer.cpp +++ b/parser/html/nsHtml5Tokenizer.cpp @@ -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;