Commit 5bc2d76b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Pass element as nsIDOMElement to create_param_prop_bag.

parent 3cac8d22
......@@ -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;
......
......@@ -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(nsIDOMHTMLElement*,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;
......
......@@ -268,7 +268,7 @@ static const IPropertyBag2Vtbl PropertyBag2Vtbl = {
PropertyBag2_LoadObject
};
static HRESULT fill_props(nsIDOMHTMLElement *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 = nsIDOMHTMLElement_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(nsIDOMHTMLElement *nselem, IPropertyBag **ret)
HRESULT create_param_prop_bag(nsIDOMElement *nselem, IPropertyBag **ret)
{
PropertyBag *prop_bag;
HRESULT hres;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment