From: Gabriel Ivăncescu gabrielopcode@gmail.com
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/mshtml/mshtml_private.h | 1 - dlls/mshtml/script.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h index 9e5d7ba5240..1eb20796143 100644 --- a/dlls/mshtml/mshtml_private.h +++ b/dlls/mshtml/mshtml_private.h @@ -519,7 +519,6 @@ typedef struct { prototype_id_t id; prototype_id_t prototype_id; prototype_id_t constructor_id; - UINT32 js_flags; compat_mode_t min_compat_mode; compat_mode_t max_compat_mode; char prototype_name[64]; diff --git a/dlls/mshtml/script.c b/dlls/mshtml/script.c index 3ad1da8cf3c..4fd6136fefd 100644 --- a/dlls/mshtml/script.c +++ b/dlls/mshtml/script.c @@ -214,8 +214,7 @@ static BOOL init_script_engine(ScriptHost *script_host, IActiveScript *script) if(SUCCEEDED(hres)) hres = IWineJScript_InitHostObject(jscript, &script_host->window->event_target.dispex.IWineJSDispatchHost_iface, - prototype->jsdisp, object_descriptors[PROT_Window]->js_flags, - &script_host->window->event_target.dispex.jsdisp); + prototype->jsdisp, 0, &script_host->window->event_target.dispex.jsdisp); if(FAILED(hres)) ERR("Could not initialize script global: %08lx\n", hres);