mshtml: Update binding moniker in handle_redirect.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
14b2a6a190
commit
a6ef2386a7
|
@ -1423,11 +1423,18 @@ static HRESULT handle_redirect(nsChannelBSC *This, const WCHAR *new_url)
|
|||
nsRedirectCallback *callback;
|
||||
nsIChannelEventSink *sink;
|
||||
nsChannel *new_channel;
|
||||
IMoniker *mon;
|
||||
nsresult nsres;
|
||||
HRESULT hres;
|
||||
|
||||
TRACE("(%p)->(%s)\n", This, debugstr_w(new_url));
|
||||
|
||||
hres = CreateURLMoniker(NULL, new_url, &mon);
|
||||
if(FAILED(hres))
|
||||
return hres;
|
||||
IMoniker_Release(This->bsc.mon);
|
||||
This->bsc.mon = mon;
|
||||
|
||||
if(!This->nschannel || !This->nschannel->notif_callback)
|
||||
return S_OK;
|
||||
|
||||
|
|
Loading…
Reference in New Issue