Module: wine Branch: master Commit: d1c51350f0dbf664defe4ebb4e1b0b5d44abb586 URL: https://source.winehq.org/git/wine.git/?a=commit;h=d1c51350f0dbf664defe4ebb4...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Mar 11 20:40:41 2021 +0100
mshtml: Initialize HTMLLocation object with compat mode.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mshtml/htmllocation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/mshtml/htmllocation.c b/dlls/mshtml/htmllocation.c index 4e15fb45242..9355acd2622 100644 --- a/dlls/mshtml/htmllocation.c +++ b/dlls/mshtml/htmllocation.c @@ -649,7 +649,8 @@ HRESULT HTMLLocation_Create(HTMLInnerWindow *window, HTMLLocation **ret) location->ref = 1; location->window = window;
- init_dispex(&location->dispex, (IUnknown*)&location->IHTMLLocation_iface, &HTMLLocation_dispex); + init_dispex_with_compat_mode(&location->dispex, (IUnknown*)&location->IHTMLLocation_iface, &HTMLLocation_dispex, + dispex_compat_mode(&window->event_target.dispex));
*ret = location; return S_OK;