Commit dfc13245 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Get rid of no longer needed document argument from script_elem_from_nsscript.

parent a19caad9
......@@ -447,7 +447,7 @@ static const NodeImplVtbl HTMLScriptElementImplVtbl = {
HTMLScriptElement_unlink
};
HRESULT script_elem_from_nsscript(HTMLDocumentNode *doc, nsIDOMHTMLScriptElement *nsscript, HTMLScriptElement **ret)
HRESULT script_elem_from_nsscript(nsIDOMHTMLScriptElement *nsscript, HTMLScriptElement **ret)
{
nsIDOMNode *nsnode;
HTMLDOMNode *node;
......
......@@ -35,7 +35,7 @@ typedef struct {
HTMLScriptElement *script;
} script_queue_entry_t;
HRESULT script_elem_from_nsscript(HTMLDocumentNode*,nsIDOMHTMLScriptElement*,HTMLScriptElement**) DECLSPEC_HIDDEN;
HRESULT script_elem_from_nsscript(nsIDOMHTMLScriptElement*,HTMLScriptElement**) DECLSPEC_HIDDEN;
void bind_event_scripts(HTMLDocumentNode*) DECLSPEC_HIDDEN;
HRESULT load_script(HTMLScriptElement*,const WCHAR*,BOOL) DECLSPEC_HIDDEN;
......
......@@ -334,7 +334,7 @@ static nsresult run_insert_script(HTMLDocumentNode *doc, nsISupports *script_ifa
}
}
hres = script_elem_from_nsscript(doc, nsscript, &script_elem);
hres = script_elem_from_nsscript(nsscript, &script_elem);
nsIDOMHTMLScriptElement_Release(nsscript);
if(FAILED(hres))
return NS_ERROR_FAILURE;
......
......@@ -1588,7 +1588,7 @@ void bind_event_scripts(HTMLDocumentNode *doc)
assert(nsres == NS_OK);
nsIDOMNode_Release(script_node);
hres = script_elem_from_nsscript(doc, nsscript, &script_elem);
hres = script_elem_from_nsscript(nsscript, &script_elem);
if(FAILED(hres))
continue;
......
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