Re: Resend: mshtml.dll:Add implementation HTMLDocument_get_referrer
10 Oct
2008
10 Oct
'08
5:16 a.m.
Ivan Sinitsin wrote:
Add implementation of HTMLDocument_get_referrer function, in unit `htmldoc.c` (mshtml.dll).
Changelog: Add implementation of HTMLDocument_get_referrer function.
+ if(!This->nscontainer) + return E_FAIL; + + nsres = nsIWebNavigation_GetDocument(This->nscontainer->navigation, &nsdoc); + if(NS_FAILED(nsres) || (!nsdoc)) { + ERR("GetDocument failed: %08x\n", nsres); + return E_FAIL; + } + + nsIDOMDocument_QueryInterface(nsdoc, &IID_nsIDOMHTMLDocument, (void**)&nshtmldoc); + nsIDOMDocument_Release(nsdoc); +
Please use nsdoc stored in HTMLDocument. It currently doesn't make much difference, but with changes from my tree it will. Jacek
6362
Age (days ago)
6362
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jacek Caban