Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7abe0951
Commit
7abe0951
authored
Sep 19, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Sep 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use the dispex's query_interface for DOMTextNodes.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
57f7159a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
htmltextnode.c
dlls/mshtml/htmltextnode.c
+8
-4
No files found.
dlls/mshtml/htmltextnode.c
View file @
7abe0951
...
...
@@ -331,9 +331,14 @@ static HRESULT HTMLDOMTextNode_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTM
return
HTMLDOMTextNode_Create
(
This
->
node
.
doc
,
nsnode
,
ret
);
}
static
void
*
HTMLDOMTextNode_QI
(
HTMLDOMNode
*
iface
,
REFIID
riid
)
static
inline
HTMLDOMTextNode
*
impl_from_DispatchEx
(
DispatchEx
*
iface
)
{
HTMLDOMTextNode
*
This
=
impl_from_HTMLDOMNode
(
iface
);
return
CONTAINING_RECORD
(
iface
,
HTMLDOMTextNode
,
node
.
event_target
.
dispex
);
}
static
void
*
HTMLDOMTextNode_query_interface
(
DispatchEx
*
dispex
,
REFIID
riid
)
{
HTMLDOMTextNode
*
This
=
impl_from_DispatchEx
(
dispex
);
if
(
IsEqualGUID
(
&
IID_IHTMLDOMTextNode
,
riid
))
return
&
This
->
IHTMLDOMTextNode_iface
;
...
...
@@ -346,13 +351,12 @@ static void *HTMLDOMTextNode_QI(HTMLDOMNode *iface, REFIID riid)
static
const
cpc_entry_t
HTMLDOMTextNode_cpc
[]
=
{{
NULL
}};
static
const
NodeImplVtbl
HTMLDOMTextNodeImplVtbl
=
{
.
qi
=
HTMLDOMTextNode_QI
,
.
cpc_entries
=
HTMLDOMTextNode_cpc
,
.
clone
=
HTMLDOMTextNode_clone
};
static
const
dispex_static_data_vtbl_t
HTMLDOMTextNode_dispex_vtbl
=
{
.
query_interface
=
HTMLDOMNode_query_interface
,
.
query_interface
=
HTMLDOM
Text
Node_query_interface
,
.
destructor
=
HTMLDOMNode_destructor
,
.
traverse
=
HTMLDOMNode_traverse
,
.
unlink
=
HTMLDOMNode_unlink
...
...
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