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
905fcb87
Commit
905fcb87
authored
Dec 09, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Make IHTMLElement::get_document vtbl offset independent.
parent
2e7fc3e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
htmlelem.c
dlls/mshtml/htmlelem.c
+1
-1
dom.c
dlls/mshtml/tests/dom.c
+5
-0
No files found.
dlls/mshtml/htmlelem.c
View file @
905fcb87
...
...
@@ -585,7 +585,7 @@ static HRESULT WINAPI HTMLElement_get_document(IHTMLElement *iface, IDispatch **
if
(
!
p
)
return
E_POINTER
;
*
p
=
(
IDispatch
*
)
This
->
node
.
doc
;
*
p
=
(
IDispatch
*
)
HTMLDOC
(
This
->
node
.
doc
)
;
IDispatch_AddRef
(
*
p
);
return
S_OK
;
...
...
dlls/mshtml/tests/dom.c
View file @
905fcb87
...
...
@@ -3343,6 +3343,11 @@ static void test_elems(IHTMLDocument2 *doc)
ok
(
type
==
1
,
"type=%ld
\n
"
,
type
);
IHTMLSelectElement_Release
(
select
);
hres
=
IHTMLElement_get_document
(
elem
,
&
disp
);
ok
(
hres
==
S_OK
,
"get_document failed: %08x
\n
"
,
hres
);
ok
(
iface_cmp
((
IUnknown
*
)
disp
,
(
IUnknown
*
)
doc
),
"disp != doc
\n
"
);
IHTMLElement_Release
(
elem
);
}
...
...
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