mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 01:08:21 +00:00
Correcting the usage of mozAutoDocUpdate here, see bug 230283.
r+sr=bzbarsky over irc.
This commit is contained in:
parent
3e77f4e556
commit
107a86d7ae
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user