Commit 0f487987 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Get rid of unneeded parent from NSContainer.

parent 3dd152dc
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment