Module: wine Branch: master Commit: 65e2bac79eed9e4d2a9253726d6d5ad4903222d1 URL: https://source.winehq.org/git/wine.git/?a=commit;h=65e2bac79eed9e4d2a9253726...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Mar 12 17:40:20 2021 +0100
mshtml: Initialize OmHistory object with compat mode.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mshtml/omnavigator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/mshtml/omnavigator.c b/dlls/mshtml/omnavigator.c index 2a98c159332..7e99e1476f7 100644 --- a/dlls/mshtml/omnavigator.c +++ b/dlls/mshtml/omnavigator.c @@ -733,7 +733,8 @@ HRESULT create_history(HTMLInnerWindow *window, OmHistory **ret) if(!history) return E_OUTOFMEMORY;
- init_dispex(&history->dispex, (IUnknown*)&history->IOmHistory_iface, &OmHistory_dispex); + init_dispex_with_compat_mode(&history->dispex, (IUnknown*)&history->IOmHistory_iface, &OmHistory_dispex, + dispex_compat_mode(&window->event_target.dispex)); history->IOmHistory_iface.lpVtbl = &OmHistoryVtbl; history->ref = 1;