зеркало из https://github.com/mozilla/pjs.git
Followup to my last checkin: get list-unlink vs. ResumeWalk order right (r=waterson@netscape.com)
This commit is contained in:
Родитель
c9c34bf66c
Коммит
7289c9d1cb
|
@ -4655,9 +4655,9 @@ nsXULDocument::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
|||
// Resume walking other documents that waited for this one's load
|
||||
nsXULDocument* doc;
|
||||
while ((doc = *docp) != nsnull) {
|
||||
doc->ResumeWalk();
|
||||
*docp = doc->mNextSrcLoadWaiter;
|
||||
doc->mNextSrcLoadWaiter = nsnull;
|
||||
doc->ResumeWalk();
|
||||
NS_RELEASE(doc);
|
||||
}
|
||||
return rv;
|
||||
|
|
|
@ -4655,9 +4655,9 @@ nsXULDocument::OnUnicharStreamComplete(nsIUnicharStreamLoader* aLoader,
|
|||
// Resume walking other documents that waited for this one's load
|
||||
nsXULDocument* doc;
|
||||
while ((doc = *docp) != nsnull) {
|
||||
doc->ResumeWalk();
|
||||
*docp = doc->mNextSrcLoadWaiter;
|
||||
doc->mNextSrcLoadWaiter = nsnull;
|
||||
doc->ResumeWalk();
|
||||
NS_RELEASE(doc);
|
||||
}
|
||||
return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче