mshtml: Get rid of unneeded parent from NSContainer.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3dd152dc59
commit
0f487987bc
|
@ -697,7 +697,6 @@ struct NSContainer {
|
|||
|
||||
nsWeakReference *weak_reference;
|
||||
|
||||
NSContainer *parent;
|
||||
HTMLDocumentObj *doc;
|
||||
|
||||
nsIURIContentListener *content_listener;
|
||||
|
|
|
@ -1336,8 +1336,6 @@ static nsrefcnt NSAPI nsWebBrowserChrome_Release(nsIWebBrowserChrome *iface)
|
|||
TRACE("(%p) ref=%d\n", This, ref);
|
||||
|
||||
if(!ref) {
|
||||
if(This->parent)
|
||||
nsIWebBrowserChrome_Release(&This->parent->nsIWebBrowserChrome_iface);
|
||||
if(This->weak_reference) {
|
||||
This->weak_reference->nscontainer = NULL;
|
||||
nsIWeakReference_Release(&This->weak_reference->nsIWeakReference_iface);
|
||||
|
|
Loading…
Reference in New Issue