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
5bc2d76b
Commit
5bc2d76b
authored
Feb 12, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Pass element as nsIDOMElement to create_param_prop_bag.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3cac8d22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
pluginhost.c
dlls/mshtml/pluginhost.c
+1
-1
pluginhost.h
dlls/mshtml/pluginhost.h
+1
-1
propbag.c
dlls/mshtml/propbag.c
+3
-3
No files found.
dlls/mshtml/pluginhost.c
View file @
5bc2d76b
...
...
@@ -132,7 +132,7 @@ static void load_prop_bag(PluginHost *host, IPersistPropertyBag *persist_prop_ba
IPropertyBag
*
prop_bag
;
HRESULT
hres
;
hres
=
create_param_prop_bag
(
host
->
element
->
element
.
nselem
,
&
prop_bag
);
hres
=
create_param_prop_bag
(
host
->
element
->
element
.
dom_element
,
&
prop_bag
);
if
(
FAILED
(
hres
))
return
;
...
...
dlls/mshtml/pluginhost.h
View file @
5bc2d76b
...
...
@@ -66,7 +66,7 @@ HRESULT create_plugin_host(HTMLDocumentNode*,HTMLPluginContainer*) DECLSPEC_HIDD
void
update_plugin_window
(
PluginHost
*
,
HWND
,
const
RECT
*
)
DECLSPEC_HIDDEN
;
void
detach_plugin_host
(
PluginHost
*
)
DECLSPEC_HIDDEN
;
HRESULT
create_param_prop_bag
(
nsIDOM
HTML
Element
*
,
IPropertyBag
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_param_prop_bag
(
nsIDOMElement
*
,
IPropertyBag
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_ip_window
(
IOleInPlaceUIWindow
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_ip_frame
(
IOleInPlaceFrame
**
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/propbag.c
View file @
5bc2d76b
...
...
@@ -268,7 +268,7 @@ static const IPropertyBag2Vtbl PropertyBag2Vtbl = {
PropertyBag2_LoadObject
};
static
HRESULT
fill_props
(
nsIDOM
HTML
Element
*
nselem
,
PropertyBag
*
prop_bag
)
static
HRESULT
fill_props
(
nsIDOMElement
*
nselem
,
PropertyBag
*
prop_bag
)
{
const
PRUnichar
*
name
,
*
value
;
nsAString
name_str
,
value_str
;
...
...
@@ -284,7 +284,7 @@ static HRESULT fill_props(nsIDOMHTMLElement *nselem, PropertyBag *prop_bag)
static
const
PRUnichar
valueW
[]
=
{
'v'
,
'a'
,
'l'
,
'u'
,
'e'
,
0
};
nsAString_InitDepend
(
&
name_str
,
paramW
);
nsres
=
nsIDOM
HTML
Element_GetElementsByTagName
(
nselem
,
&
name_str
,
&
params
);
nsres
=
nsIDOMElement_GetElementsByTagName
(
nselem
,
&
name_str
,
&
params
);
nsAString_Finish
(
&
name_str
);
if
(
NS_FAILED
(
nsres
))
return
E_FAIL
;
...
...
@@ -331,7 +331,7 @@ static HRESULT fill_props(nsIDOMHTMLElement *nselem, PropertyBag *prop_bag)
return
hres
;
}
HRESULT
create_param_prop_bag
(
nsIDOM
HTML
Element
*
nselem
,
IPropertyBag
**
ret
)
HRESULT
create_param_prop_bag
(
nsIDOMElement
*
nselem
,
IPropertyBag
**
ret
)
{
PropertyBag
*
prop_bag
;
HRESULT
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