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
13842950
Commit
13842950
authored
Sep 18, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Sep 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Move node vtbl destructor methods down.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
6c1c1aaa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
htmlscript.c
dlls/mshtml/htmlscript.c
+7
-7
htmlstyleelem.c
dlls/mshtml/htmlstyleelem.c
+8
-8
No files found.
dlls/mshtml/htmlscript.c
View file @
13842950
...
@@ -354,13 +354,6 @@ static inline HTMLScriptElement *impl_from_HTMLDOMNode(HTMLDOMNode *iface)
...
@@ -354,13 +354,6 @@ static inline HTMLScriptElement *impl_from_HTMLDOMNode(HTMLDOMNode *iface)
return
CONTAINING_RECORD
(
iface
,
HTMLScriptElement
,
element
.
node
);
return
CONTAINING_RECORD
(
iface
,
HTMLScriptElement
,
element
.
node
);
}
}
static
void
HTMLScriptElement_destructor
(
HTMLDOMNode
*
iface
)
{
HTMLScriptElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
free
(
This
->
src_text
);
HTMLElement_destructor
(
&
This
->
element
.
node
);
}
static
HRESULT
HTMLScriptElement_get_readystate
(
HTMLDOMNode
*
iface
,
BSTR
*
p
)
static
HRESULT
HTMLScriptElement_get_readystate
(
HTMLDOMNode
*
iface
,
BSTR
*
p
)
{
{
HTMLScriptElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLScriptElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
...
@@ -422,6 +415,13 @@ static void HTMLScriptElement_unlink(DispatchEx *dispex)
...
@@ -422,6 +415,13 @@ static void HTMLScriptElement_unlink(DispatchEx *dispex)
unlink_ref
(
&
This
->
nsscript
);
unlink_ref
(
&
This
->
nsscript
);
}
}
static
void
HTMLScriptElement_destructor
(
HTMLDOMNode
*
iface
)
{
HTMLScriptElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
free
(
This
->
src_text
);
HTMLElement_destructor
(
&
This
->
element
.
node
);
}
static
const
NodeImplVtbl
HTMLScriptElementImplVtbl
=
{
static
const
NodeImplVtbl
HTMLScriptElementImplVtbl
=
{
.
clsid
=
&
CLSID_HTMLScriptElement
,
.
clsid
=
&
CLSID_HTMLScriptElement
,
.
qi
=
HTMLScriptElement_QI
,
.
qi
=
HTMLScriptElement_QI
,
...
...
dlls/mshtml/htmlstyleelem.c
View file @
13842950
...
@@ -365,14 +365,6 @@ static inline HTMLStyleElement *impl_from_HTMLDOMNode(HTMLDOMNode *iface)
...
@@ -365,14 +365,6 @@ static inline HTMLStyleElement *impl_from_HTMLDOMNode(HTMLDOMNode *iface)
return
CONTAINING_RECORD
(
iface
,
HTMLStyleElement
,
element
.
node
);
return
CONTAINING_RECORD
(
iface
,
HTMLStyleElement
,
element
.
node
);
}
}
static
void
HTMLStyleElement_destructor
(
HTMLDOMNode
*
iface
)
{
HTMLStyleElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
unlink_ref
(
&
This
->
style_sheet
);
HTMLElement_destructor
(
iface
);
}
static
inline
HTMLStyleElement
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
static
inline
HTMLStyleElement
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
{
{
return
CONTAINING_RECORD
(
iface
,
HTMLStyleElement
,
element
.
node
.
event_target
.
dispex
);
return
CONTAINING_RECORD
(
iface
,
HTMLStyleElement
,
element
.
node
.
event_target
.
dispex
);
...
@@ -410,6 +402,14 @@ static void HTMLStyleElement_unlink(DispatchEx *dispex)
...
@@ -410,6 +402,14 @@ static void HTMLStyleElement_unlink(DispatchEx *dispex)
unlink_ref
(
&
This
->
nsstyle
);
unlink_ref
(
&
This
->
nsstyle
);
}
}
static
void
HTMLStyleElement_destructor
(
HTMLDOMNode
*
iface
)
{
HTMLStyleElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
unlink_ref
(
&
This
->
style_sheet
);
HTMLElement_destructor
(
iface
);
}
static
void
HTMLStyleElement_init_dispex_info
(
dispex_data_t
*
info
,
compat_mode_t
mode
)
static
void
HTMLStyleElement_init_dispex_info
(
dispex_data_t
*
info
,
compat_mode_t
mode
)
{
{
static
const
dispex_hook_t
ie11_hooks
[]
=
{
static
const
dispex_hook_t
ie11_hooks
[]
=
{
...
...
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