Jacek Caban : mshtml: Move document binding to the new document binding list in on_start_nsrequest .
Alexandre Julliard
julliard at winehq.org
Mon May 16 11:36:45 CDT 2011
Module: wine
Branch: master
Commit: d7a2da5730f63513e0355f3755aecbb75e312575
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d7a2da5730f63513e0355f3755aecbb75e312575
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri May 13 18:17:59 2011 +0200
mshtml: Move document binding to the new document binding list in on_start_nsrequest.
---
dlls/mshtml/navigate.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c
index eb2ba8f..bdb95a7 100644
--- a/dlls/mshtml/navigate.c
+++ b/dlls/mshtml/navigate.c
@@ -973,9 +973,12 @@ static HRESULT on_start_nsrequest(nsChannelBSC *This)
}
if(This->window) {
+ list_remove(&This->bsc.entry);
+ list_init(&This->bsc.entry);
update_window_doc(This->window);
if(This->window->doc != This->bsc.doc)
This->bsc.doc = This->window->doc;
+ list_add_head(&This->bsc.doc->bindings, &This->bsc.entry);
if(This->window->readystate != READYSTATE_LOADING)
set_ready_state(This->window, READYSTATE_LOADING);
}
More information about the wine-cvs
mailing list