mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
mshtml: Initialize HTMLImageElementFactory 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
c833238a21
commit
f4ad57d431
1 changed files with 2 additions and 2 deletions
|
@ -992,8 +992,8 @@ HRESULT HTMLImageElementFactory_Create(HTMLInnerWindow *window, HTMLImageElement
|
|||
ret->ref = 1;
|
||||
ret->window = window;
|
||||
|
||||
init_dispex(&ret->dispex, (IUnknown*)&ret->IHTMLImageElementFactory_iface,
|
||||
&HTMLImageElementFactory_dispex);
|
||||
init_dispex_with_compat_mode(&ret->dispex, (IUnknown*)&ret->IHTMLImageElementFactory_iface,
|
||||
&HTMLImageElementFactory_dispex, dispex_compat_mode(&window->event_target.dispex));
|
||||
|
||||
*ret_val = ret;
|
||||
return S_OK;
|
||||
|
|
Loading…
Reference in a new issue