Jacek Caban : mshtml: Initialize HTMLAttributeCollection object with compat mode.
Alexandre Julliard
julliard at winehq.org
Thu Mar 11 15:59:36 CST 2021
Module: wine
Branch: master
Commit: 78be56291a566eaef9b5ad444d1638af29cca3bc
URL: https://source.winehq.org/git/wine.git/?a=commit;h=78be56291a566eaef9b5ad444d1638af29cca3bc
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Mar 11 20:40:12 2021 +0100
mshtml: Initialize HTMLAttributeCollection object with compat mode.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mshtml/htmlelem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c
index 1a5ac7f5717..04e59eafdae 100644
--- a/dlls/mshtml/htmlelem.c
+++ b/dlls/mshtml/htmlelem.c
@@ -7196,8 +7196,8 @@ HRESULT HTMLElement_get_attr_col(HTMLDOMNode *iface, HTMLAttributeCollection **a
This->attrs->elem = This;
list_init(&This->attrs->attrs);
- init_dispex(&This->attrs->dispex, (IUnknown*)&This->attrs->IHTMLAttributeCollection_iface,
- &HTMLAttributeCollection_dispex);
+ init_dispex_with_compat_mode(&This->attrs->dispex, (IUnknown*)&This->attrs->IHTMLAttributeCollection_iface,
+ &HTMLAttributeCollection_dispex, dispex_compat_mode(&iface->event_target.dispex));
*ac = This->attrs;
return S_OK;
More information about the wine-cvs
mailing list