Commit 1d04b604 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Don't Use HTMLDocument type in HTMLDOMNode_unlink.

parent b9591e21
...@@ -1573,9 +1573,9 @@ static nsresult NSAPI HTMLDOMNode_unlink(void *p) ...@@ -1573,9 +1573,9 @@ static nsresult NSAPI HTMLDOMNode_unlink(void *p)
} }
if(This->doc && &This->doc->node != This) { if(This->doc && &This->doc->node != This) {
HTMLDocument *doc = &This->doc->basedoc; HTMLDocumentNode *doc = This->doc;
This->doc = NULL; This->doc = NULL;
htmldoc_release(doc); htmldoc_release(&doc->basedoc);
}else { }else {
This->doc = NULL; This->doc = NULL;
} }
......
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