Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d4770578
Commit
d4770578
authored
Aug 15, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Aug 16, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Rename EventTarget_QI to EventTarget_QI_no_cc.
The new EventTarget_QI will use the cycle collector later. Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
07923da1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
htmlevent.c
dlls/mshtml/htmlevent.c
+1
-1
htmlnode.c
dlls/mshtml/htmlnode.c
+1
-1
htmlwindow.c
dlls/mshtml/htmlwindow.c
+2
-2
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-1
xmlhttprequest.c
dlls/mshtml/xmlhttprequest.c
+1
-1
No files found.
dlls/mshtml/htmlevent.c
View file @
d4770578
...
...
@@ -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
))
{
...
...
dlls/mshtml/htmlnode.c
View file @
d4770578
...
...
@@ -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
);
...
...
dlls/mshtml/htmlwindow.c
View file @
d4770578
...
...
@@ -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
)
...
...
dlls/mshtml/mshtml_private.h
View file @
d4770578
...
...
@@ -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
**
);
...
...
dlls/mshtml/xmlhttprequest.c
View file @
d4770578
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment