mshtml: Use inner window directly in run_insert_script.
This commit is contained in:
parent
e78537ffa2
commit
8b69ff6b3b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue