mshtml: Use inner window directly in run_insert_script.

This commit is contained in:
Jacek Caban 2012-07-30 15:56:33 +02:00 committed by Alexandre Julliard
parent e78537ffa2
commit 8b69ff6b3b
1 changed files with 1 additions and 1 deletions

View File

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