Jacek Caban : mshtml: Initialize HTMLImageElementFactory object with compat mode.
Module: wine Branch: master Commit: f4ad57d4319e45c7305847cf5dce2f336ee58e2b URL: https://source.winehq.org/git/wine.git/?a=commit;h=f4ad57d4319e45c7305847cf5... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Thu Mar 11 20:40:30 2021 +0100 mshtml: Initialize HTMLImageElementFactory object with compat mode. Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mshtml/htmlimg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mshtml/htmlimg.c b/dlls/mshtml/htmlimg.c index aa4129e760e..65fa9bbebcc 100644 --- a/dlls/mshtml/htmlimg.c +++ b/dlls/mshtml/htmlimg.c @@ -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;
participants (1)
-
Alexandre Julliard