mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 202972 - Null mDocument triggering crash [@ nsDocAccessible::FireDocLoadFinished]
Patch by timeless, r=aaronl, sr=bzbarsky, a=asa
This commit is contained in:
parent
4a2c7fb52a
commit
27300f7ea0
@ -382,6 +382,10 @@ void nsDocAccessible::RemoveContentDocListeners()
|
||||
|
||||
void nsDocAccessible::FireDocLoadFinished()
|
||||
{
|
||||
NS_ASSERTION(mDocument, "No Document - Bug 202972");
|
||||
if (!mDocument)
|
||||
return;
|
||||
|
||||
// Hook up our new accessible with our parent
|
||||
if (!mParent) {
|
||||
nsCOMPtr<nsIDocument> parentDoc;
|
||||
|
Loading…
Reference in New Issue
Block a user