mshtml: Pass dispex info to HTMLElement_Init in HTMLElement_Create.
This commit is contained in:
parent
398161dcee
commit
4a400e154b
@ -1671,7 +1671,7 @@ HTMLElement *HTMLElement_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, BOOL
|
|||||||
|
|
||||||
if(!ret) {
|
if(!ret) {
|
||||||
ret = heap_alloc_zero(sizeof(HTMLElement));
|
ret = heap_alloc_zero(sizeof(HTMLElement));
|
||||||
HTMLElement_Init(ret, doc, nselem, NULL);
|
HTMLElement_Init(ret, doc, nselem, &HTMLElement_dispex);
|
||||||
ret->node.vtbl = &HTMLElementImplVtbl;
|
ret->node.vtbl = &HTMLElementImplVtbl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user