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:
@@ -1624,6 +1624,8 @@ DocumentViewerImpl::Destroy()
|
||||
mPresContext = nsnull;
|
||||
}
|
||||
|
||||
mWindow = nsnull;
|
||||
mViewManager = nsnull;
|
||||
mContainer = nsnull;
|
||||
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user