Jacek Caban : mshtml: Use inner window directly in handle_load.

Alexandre Julliard julliard at winehq.org
Mon Jul 30 14:18:52 CDT 2012


Module: wine
Branch: master
Commit: 6530e8a9633ea47828f9f7c4d44f53594c5b1395
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6530e8a9633ea47828f9f7c4d44f53594c5b1395

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Jul 30 15:56:45 2012 +0200

mshtml: Use inner window directly in handle_load.

---

 dlls/mshtml/nsevents.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/nsevents.c b/dlls/mshtml/nsevents.c
index 488bdd8..3fd1962 100644
--- a/dlls/mshtml/nsevents.c
+++ b/dlls/mshtml/nsevents.c
@@ -241,7 +241,7 @@ static nsresult NSAPI handle_load(nsIDOMEventListener *iface, nsIDOMEvent *event
     if(doc->basedoc.doc_obj && doc->basedoc.doc_obj->basedoc.doc_node == doc)
         doc_obj = doc->basedoc.doc_obj;
 
-    connect_scripts(doc->basedoc.window->base.inner_window);
+    connect_scripts(doc->window);
 
     if(doc_obj)
         handle_docobj_load(doc_obj);




More information about the wine-cvs mailing list