mshtml: Initialize HTMLXMLHttpRequestFactory object with compat mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
45c682c74b
commit
a2e4ee235e
|
@ -1084,8 +1084,8 @@ HRESULT HTMLXMLHttpRequestFactory_Create(HTMLInnerWindow* window, HTMLXMLHttpReq
|
|||
ret->ref = 1;
|
||||
ret->window = window;
|
||||
|
||||
init_dispex(&ret->dispex, (IUnknown*)&ret->IHTMLXMLHttpRequestFactory_iface,
|
||||
&HTMLXMLHttpRequestFactory_dispex);
|
||||
init_dispex_with_compat_mode(&ret->dispex, (IUnknown*)&ret->IHTMLXMLHttpRequestFactory_iface,
|
||||
&HTMLXMLHttpRequestFactory_dispex, dispex_compat_mode(&window->event_target.dispex));
|
||||
|
||||
*ret_ptr = ret;
|
||||
return S_OK;
|
||||
|
|
Loading…
Reference in New Issue