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
f30f506d
Commit
f30f506d
authored
Oct 01, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't assume that nsIDOMHTML*Element interfaces inherit from…
mshtml: Don't assume that nsIDOMHTML*Element interfaces inherit from nsIDOMHTMLElement in htmlinput.c.
parent
9b41bb03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
htmlinput.c
dlls/mshtml/htmlinput.c
+7
-2
No files found.
dlls/mshtml/htmlinput.c
View file @
f30f506d
...
...
@@ -256,6 +256,7 @@ static HRESULT WINAPI HTMLInputElement_get_form(IHTMLInputElement *iface, IHTMLF
{
HTMLInputElement
*
This
=
impl_from_IHTMLInputElement
(
iface
);
nsIDOMHTMLFormElement
*
nsform
;
nsIDOMNode
*
form_node
;
HTMLDOMNode
*
node
;
HRESULT
hres
;
nsresult
nsres
;
...
...
@@ -269,8 +270,12 @@ static HRESULT WINAPI HTMLInputElement_get_form(IHTMLInputElement *iface, IHTMLF
return
E_FAIL
;
}
hres
=
get_node
(
This
->
element
.
node
.
doc
,
(
nsIDOMNode
*
)
nsform
,
TRUE
,
&
node
);
nsres
=
nsIDOMHTMLFormElement_QueryInterface
(
nsform
,
&
IID_nsIDOMNode
,
(
void
**
)
&
form_
node
);
nsIDOMHTMLFormElement_Release
(
nsform
);
assert
(
nsres
==
NS_OK
);
hres
=
get_node
(
This
->
element
.
node
.
doc
,
form_node
,
TRUE
,
&
node
);
nsIDOMNode_Release
(
form_node
);
if
(
FAILED
(
hres
))
return
hres
;
...
...
@@ -1233,7 +1238,7 @@ static HRESULT HTMLInputElementImpl_fire_event(HTMLDOMNode *iface, eventid_t eid
*
handled
=
TRUE
;
nsres
=
nsIDOMHTML
InputElement_Click
(
This
->
nsinput
);
nsres
=
nsIDOMHTML
Element_Click
(
This
->
element
.
nselem
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Click failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
...
...
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