mshtml: Handle the failure case in get_nsstyle_attr.
This commit is contained in:
parent
1e28bbb88e
commit
03cc8eea6f
|
@ -480,7 +480,7 @@ HRESULT get_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, BSTR
|
||||||
nsAString_Finish(&str_value);
|
nsAString_Finish(&str_value);
|
||||||
|
|
||||||
TRACE("%s -> %s\n", debugstr_w(style_tbl[sid].name), debugstr_w(*p));
|
TRACE("%s -> %s\n", debugstr_w(style_tbl[sid].name), debugstr_w(*p));
|
||||||
return S_OK;
|
return hres;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags)
|
HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags)
|
||||||
|
|
Loading…
Reference in New Issue