mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Fixing RDF crash. Change weak pointer to strong pointer as was the intention (as the comment in the code reflects) when the fix for crash bug 248071 landed. r=axel@pike.org, sr=darin@meer.net
This commit is contained in:
parent
affadd4f4a
commit
bfd2eb597a
@ -1073,7 +1073,7 @@ RDFXMLDataSourceImpl::EndLoad(void)
|
||||
// Make sure to hold a strong reference to the observer so
|
||||
// that it doesn't go away in this call if it removes itself
|
||||
// as an observer
|
||||
nsIRDFXMLSinkObserver* obs = mObservers[i];
|
||||
nsCOMPtr<nsIRDFXMLSinkObserver> obs = mObservers[i];
|
||||
|
||||
if (obs) {
|
||||
obs->OnEndLoad(this);
|
||||
|
Loading…
Reference in New Issue
Block a user