mshtml: Don't initialize HTMLElement dispex for Option constructor.

It's not an element, so it doesn't even implement those interfaces.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
Gabriel Ivăncescu 2023-01-03 18:27:04 +02:00 committed by Alexandre Julliard
parent 5c3b285431
commit f3ad67d7a5

View file

@ -646,7 +646,6 @@ static dispex_static_data_t HTMLOptionElementFactory_dispex = {
&HTMLOptionElementFactory_dispex_vtbl,
IHTMLOptionElementFactory_tid,
HTMLOptionElementFactory_iface_tids,
HTMLElement_init_dispex_info
};
HRESULT HTMLOptionElementFactory_Create(HTMLInnerWindow *window, HTMLOptionElementFactory **ret_ptr)