mshtml: Initialize HTMLPluginsCollection 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:
Jacek Caban 2021-03-12 17:40:29 +01:00 committed by Alexandre Julliard
parent 65e2bac79e
commit 65aedc8e0f
1 changed files with 2 additions and 2 deletions

View File

@ -892,8 +892,8 @@ static HRESULT create_plugins_collection(OmNavigator *navigator, HTMLPluginsColl
col->ref = 1;
col->navigator = navigator;
init_dispex(&col->dispex, (IUnknown*)&col->IHTMLPluginsCollection_iface,
&HTMLPluginsCollection_dispex);
init_dispex_with_compat_mode(&col->dispex, (IUnknown*)&col->IHTMLPluginsCollection_iface,
&HTMLPluginsCollection_dispex, dispex_compat_mode(&navigator->dispex));
*ret = col;
return S_OK;