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
278daad3
Commit
278daad3
authored
Dec 21, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Include nsbody reference in cycle collection.
parent
b69550ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
5 deletions
+25
-5
htmlbody.c
dlls/mshtml/htmlbody.c
+25
-5
No files found.
dlls/mshtml/htmlbody.c
View file @
278daad3
...
...
@@ -805,13 +805,23 @@ static HRESULT HTMLBodyElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
return
HTMLElement_QI
(
&
This
->
textcont
.
element
.
node
,
riid
,
ppv
);
}
static
void
HTMLBodyElement_
destructor
(
HTMLDOMNode
*
iface
)
static
void
HTMLBodyElement_
traverse
(
HTMLDOMNode
*
iface
,
nsCycleCollectionTraversalCallback
*
cb
)
{
HTMLBodyElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
nsIDOMHTMLBodyElement_Release
(
This
->
nsbody
);
if
(
This
->
nsbody
)
note_cc_edge
((
nsISupports
*
)
This
->
nsbody
,
"This->nsbody"
,
cb
);
}
static
void
HTMLBodyElement_unlink
(
HTMLDOMNode
*
iface
)
{
HTMLBodyElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLElement_destructor
(
&
This
->
textcont
.
element
.
node
);
if
(
This
->
nsbody
)
{
nsIDOMHTMLBodyElement
*
nsbody
=
This
->
nsbody
;
This
->
nsbody
=
NULL
;
nsIDOMHTMLBodyElement_Release
(
nsbody
);
}
}
static
event_target_t
**
HTMLBodyElement_get_event_target
(
HTMLDOMNode
*
iface
)
...
...
@@ -832,12 +842,22 @@ static const cpc_entry_t HTMLBodyElement_cpc[] = {
static
const
NodeImplVtbl
HTMLBodyElementImplVtbl
=
{
HTMLBodyElement_QI
,
HTML
Body
Element_destructor
,
HTMLElement_destructor
,
HTMLBodyElement_cpc
,
HTMLElement_clone
,
HTMLElement_handle_event
,
HTMLElement_get_attr_col
,
HTMLBodyElement_get_event_target
HTMLBodyElement_get_event_target
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
HTMLBodyElement_traverse
,
HTMLBodyElement_unlink
};
static
const
tid_t
HTMLBodyElement_iface_tids
[]
=
{
...
...
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