Correcting the usage of mozAutoDocUpdate here, see bug 230283.

r+sr=bzbarsky over irc.
This commit is contained in:
caillon%returnzero.com 2004-01-15 03:18:03 +00:00
parent 3e77f4e556
commit 107a86d7ae

View File

@ -264,7 +264,7 @@ nsXMLContentSink::DidBuildModel()
NS_ASSERTION(mDocument->IndexOf(mDocElement) != -1,
"mDocElement not in doc?");
mozAutoDocUpdate(mDocument, UPDATE_CONTENT_MODEL, PR_TRUE);
mozAutoDocUpdate docUpdate(mDocument, UPDATE_CONTENT_MODEL, PR_TRUE);
mDocument->ContentInserted(nsnull, mDocElement,
// XXXbz is this last arg relevant if
// the container is null?