mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
mshtml: Initialize HTMLLocation 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
e61e196843
commit
d1c51350f0
1 changed files with 2 additions and 1 deletions
|
@ -649,7 +649,8 @@ HRESULT HTMLLocation_Create(HTMLInnerWindow *window, HTMLLocation **ret)
|
|||
location->ref = 1;
|
||||
location->window = window;
|
||||
|
||||
init_dispex(&location->dispex, (IUnknown*)&location->IHTMLLocation_iface, &HTMLLocation_dispex);
|
||||
init_dispex_with_compat_mode(&location->dispex, (IUnknown*)&location->IHTMLLocation_iface, &HTMLLocation_dispex,
|
||||
dispex_compat_mode(&window->event_target.dispex));
|
||||
|
||||
*ret = location;
|
||||
return S_OK;
|
||||
|
|
Loading…
Reference in a new issue