Bug 607512: Destroy document-viewer widgetry to avoid keeping native widgets and layers alive longer than necessary. r=roc a=blocking-fennec

This commit is contained in:
Chris Jones 2010-10-27 11:57:21 -05:00
parent a49bc9b30b
commit 2366aa408c

View File

@ -1624,6 +1624,8 @@ DocumentViewerImpl::Destroy()
mPresContext = nsnull;
}
mWindow = nsnull;
mViewManager = nsnull;
mContainer = nsnull;
return NS_OK;