Fix for bug#6716. For handling multiple <BODY> tags in a document.

(R) rickg, (A) chofmann
This commit is contained in:
harishd%netscape.com 1999-05-19 22:10:30 +00:00
parent fb3029c9ae
commit 267334286a
2 changed files with 0 additions and 4 deletions

View File

@ -1753,8 +1753,6 @@ HTMLContentSink::OpenBody(const nsIParserNode& aNode)
nsIScriptContextOwner* sco = mDocument->GetScriptContextOwner();
AddAttributes(aNode,mBody,sco,PR_TRUE);
NS_IF_RELEASE(sco);
NS_ADDREF(mBody);
mCurrentContext->mStackPos++;
return NS_OK;
}

View File

@ -1753,8 +1753,6 @@ HTMLContentSink::OpenBody(const nsIParserNode& aNode)
nsIScriptContextOwner* sco = mDocument->GetScriptContextOwner();
AddAttributes(aNode,mBody,sco,PR_TRUE);
NS_IF_RELEASE(sco);
NS_ADDREF(mBody);
mCurrentContext->mStackPos++;
return NS_OK;
}