Module: wine Branch: master Commit: 58d67c275863ed34cc476ed1447da5f9a4411962 URL: http://source.winehq.org/git/wine.git/?a=commit;h=58d67c275863ed34cc476ed144...
Author: Jacek Caban jacek@codeweavers.com Date: Sun Sep 20 18:59:57 2009 +0200
mshtml: Added IHTMLDOMNode2::get_ownerDocument implementation.
---
dlls/mshtml/htmlnode.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlnode.c b/dlls/mshtml/htmlnode.c index 399355b..8c83e56 100644 --- a/dlls/mshtml/htmlnode.c +++ b/dlls/mshtml/htmlnode.c @@ -808,8 +808,12 @@ static HRESULT WINAPI HTMLDOMNode2_Invoke(IHTMLDOMNode2 *iface, DISPID dispIdMem static HRESULT WINAPI HTMLDOMNode2_get_ownerDocument(IHTMLDOMNode2 *iface, IDispatch **p) { HTMLDOMNode *This = HTMLDOMNODE2_THIS(iface); - FIXME("(%p)->(%p)\n", This, p); - return E_NOTIMPL; + + TRACE("(%p)->(%p)\n", This, p); + + *p = (IDispatch*)HTMLDOC(&This->doc->basedoc); + IDispatch_AddRef(*p); + return S_OK; }
#undef HTMLDOMNODE2_THIS