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
e78537ff
Commit
e78537ff
authored
Jul 30, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use inner window directly in HTMLOptionElementFactory implementation.
parent
dce83a30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
htmloption.c
dlls/mshtml/htmloption.c
+3
-3
No files found.
dlls/mshtml/htmloption.c
View file @
e78537ff
...
...
@@ -458,18 +458,18 @@ static HRESULT WINAPI HTMLOptionElementFactory_create(IHTMLOptionElementFactory
TRACE
(
"(%p)->(%s %s %s %s %p)
\n
"
,
This
,
debugstr_variant
(
&
text
),
debugstr_variant
(
&
value
),
debugstr_variant
(
&
defaultselected
),
debugstr_variant
(
&
selected
),
optelem
);
if
(
!
This
->
window
||
!
This
->
window
->
base
.
inner_window
->
doc
)
{
if
(
!
This
->
window
||
!
This
->
window
->
doc
)
{
WARN
(
"NULL doc
\n
"
);
return
E_UNEXPECTED
;
}
*
optelem
=
NULL
;
hres
=
create_nselem
(
This
->
window
->
base
.
inner_window
->
doc
,
optionW
,
&
nselem
);
hres
=
create_nselem
(
This
->
window
->
doc
,
optionW
,
&
nselem
);
if
(
FAILED
(
hres
))
return
hres
;
hres
=
get_node
(
This
->
window
->
base
.
inner_window
->
doc
,
(
nsIDOMNode
*
)
nselem
,
TRUE
,
&
node
);
hres
=
get_node
(
This
->
window
->
doc
,
(
nsIDOMNode
*
)
nselem
,
TRUE
,
&
node
);
nsIDOMHTMLElement_Release
(
nselem
);
if
(
FAILED
(
hres
))
return
hres
;
...
...
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