mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Fix assertion from bug 211470, rs=bz
This commit is contained in:
parent
b98233a1fb
commit
01ee486155
@ -260,7 +260,8 @@ CSSLoaderImpl::DropDocumentReference(void)
|
||||
// Flush out pending datas just so we don't leak by accident. These
|
||||
// loads should short-circuit through the mDocument check in
|
||||
// LoadSheet and just end up in SheetComplete immediately
|
||||
mPendingDatas.Enumerate(StartAlternateLoads, this);
|
||||
if (mPendingDatas.IsInitialized())
|
||||
mPendingDatas.Enumerate(StartAlternateLoads, this);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -260,7 +260,8 @@ CSSLoaderImpl::DropDocumentReference(void)
|
||||
// Flush out pending datas just so we don't leak by accident. These
|
||||
// loads should short-circuit through the mDocument check in
|
||||
// LoadSheet and just end up in SheetComplete immediately
|
||||
mPendingDatas.Enumerate(StartAlternateLoads, this);
|
||||
if (mPendingDatas.IsInitialized())
|
||||
mPendingDatas.Enumerate(StartAlternateLoads, this);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user