Commit 65e2bac7 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Initialize OmHistory object with compat mode.

parent 16b4bc23
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment