Commit d4770578 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml: Rename EventTarget_QI to EventTarget_QI_no_cc.

The new EventTarget_QI will use the cycle collector later. Signed-off-by: 's avatarGabriel Ivăncescu <gabrielopcode@gmail.com>
parent 07923da1
......@@ -4478,7 +4478,7 @@ static HRESULT get_gecko_target(IEventTarget *target, nsIDOMEventTarget **ret)
return S_OK;
}
HRESULT EventTarget_QI(EventTarget *event_target, REFIID riid, void **ppv)
HRESULT EventTarget_QI_no_cc(EventTarget *event_target, REFIID riid, void **ppv)
{
if(IsEqualGUID(riid, &IID_IEventTarget)) {
if(use_event_quirks(event_target)) {
......
......@@ -1444,7 +1444,7 @@ HRESULT HTMLDOMNode_QI(HTMLDOMNode *This, REFIID riid, void **ppv)
*ppv = &This->IHTMLDOMNode_iface;
return S_OK;
}else {
return EventTarget_QI(&This->event_target, riid, ppv);
return EventTarget_QI_no_cc(&This->event_target, riid, ppv);
}
IUnknown_AddRef((IUnknown*)*ppv);
......
......@@ -214,7 +214,7 @@ static HRESULT WINAPI HTMLWindow2_QueryInterface(IHTMLWindow2 *iface, REFIID rii
if(hres != S_FALSE)
return hres;
return EventTarget_QI(&This->event_target, riid, ppv);
return EventTarget_QI_no_cc(&This->event_target, riid, ppv);
}
static ULONG WINAPI HTMLWindow2_AddRef(IHTMLWindow2 *iface)
......@@ -251,7 +251,7 @@ static HRESULT WINAPI outer_window_QueryInterface(IHTMLWindow2 *iface, REFIID ri
if(hres != S_FALSE)
return hres;
return EventTarget_QI(&This->base.inner_window->event_target, riid, ppv);
return EventTarget_QI_no_cc(&This->base.inner_window->event_target, riid, ppv);
}
static ULONG WINAPI outer_window_AddRef(IHTMLWindow2 *iface)
......
......@@ -1221,7 +1221,7 @@ void HTMLDOMNode_Init(HTMLDocumentNode*,HTMLDOMNode*,nsIDOMNode*,dispex_static_d
void HTMLElement_Init(HTMLElement*,HTMLDocumentNode*,nsIDOMElement*,dispex_static_data_t*);
void EventTarget_Init(EventTarget*,IUnknown*,dispex_static_data_t*,compat_mode_t);
HRESULT EventTarget_QI(EventTarget*,REFIID,void**);
HRESULT EventTarget_QI_no_cc(EventTarget*,REFIID,void**);
void EventTarget_init_dispex_info(dispex_data_t*,compat_mode_t);
HRESULT HTMLDOMNode_QI(HTMLDOMNode*,REFIID,void**);
......
......@@ -526,7 +526,7 @@ static HRESULT WINAPI HTMLXMLHttpRequest_QueryInterface(IHTMLXMLHttpRequest *ifa
}else if(IsEqualGUID(&IID_IProvideClassInfo2, riid)) {
*ppv = &This->IProvideClassInfo2_iface;
}else {
return EventTarget_QI(&This->event_target, riid, ppv);
return EventTarget_QI_no_cc(&This->event_target, riid, ppv);
}
IUnknown_AddRef((IUnknown*)*ppv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment