Oops, forgot to make peterv's suggested comment changes when checking in the fix for bug 109854.

This commit is contained in:
jst%netscape.com 2001-11-29 07:14:00 +00:00
parent 9ffe8d60f2
commit e5ee0feabb
2 changed files with 2 additions and 2 deletions

View File

@ -691,7 +691,7 @@ NS_IMETHODIMP
nsHTMLFormElement::SetDemotingForm(PRBool aDemotingForm)
{
NS_ASSERTION(mDemotingForm != aDemotingForm,
"Bad call to DemotingContainer()!");
"Bad call to SetDemotingForm()!");
mDemotingForm = aDemotingForm;

View File

@ -1802,7 +1802,7 @@ SinkContext::DemoteForm(const nsIParserNode& aNode)
}
// Set mIsDemotingForm here so that the above FlushTags()
// calls really flushes the tags.
// call really flushes the tags.
mSink->mIsDemotingForm = PR_TRUE;
// Set a flag on the form to let people know it's being demoted.