mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 01:57:00 +00:00
Bug 39037. Feeble attempt to fix: if for some reason we never got a parser, or the SetParser(nsnull) is called before calling DidBuildModel().
This commit is contained in:
parent
c0723090ec
commit
27dd808be5
@ -553,7 +553,7 @@ XULContentSinkImpl::DidBuildModel(PRInt32 aQualityLevel)
|
||||
|
||||
// Drop our reference to the parser to get rid of a circular
|
||||
// reference.
|
||||
NS_RELEASE(mParser);
|
||||
NS_IF_RELEASE(mParser);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -553,7 +553,7 @@ XULContentSinkImpl::DidBuildModel(PRInt32 aQualityLevel)
|
||||
|
||||
// Drop our reference to the parser to get rid of a circular
|
||||
// reference.
|
||||
NS_RELEASE(mParser);
|
||||
NS_IF_RELEASE(mParser);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user