mshtml: Fixed HTMLHeadElement_QI implementation.
This commit is contained in:
parent
7a428c3fd2
commit
bc9850b42c
|
@ -295,7 +295,7 @@ static HRESULT HTMLHeadElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
|
||||||
TRACE("(%p)->(IID_IHTMLHeadElement %p)\n", This, ppv);
|
TRACE("(%p)->(IID_IHTMLHeadElement %p)\n", This, ppv);
|
||||||
*ppv = &This->IHTMLHeadElement_iface;
|
*ppv = &This->IHTMLHeadElement_iface;
|
||||||
}else {
|
}else {
|
||||||
HTMLElement_QI(&This->element.node, riid, ppv);
|
return HTMLElement_QI(&This->element.node, riid, ppv);
|
||||||
}
|
}
|
||||||
|
|
||||||
IUnknown_AddRef((IUnknown*)*ppv);
|
IUnknown_AddRef((IUnknown*)*ppv);
|
||||||
|
|
Loading…
Reference in New Issue