Commit 8b69ff6b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Use inner window directly in run_insert_script.

parent e78537ff
......@@ -316,7 +316,7 @@ static nsresult run_insert_script(HTMLDocumentNode *doc, nsISupports *script_ifa
if(nsparser)
nsIParser_BeginEvaluatingParserInsertedScript(nsparser);
doc_insert_script(doc->basedoc.window->base.inner_window, nsscript);
doc_insert_script(doc->window, nsscript);
if(nsparser) {
nsIParser_EndEvaluatingParserInsertedScript(nsparser);
......
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