mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 644084 - crash [@ nsAccessNodeWrap::get_attributesForNames(unsigned short, unsigned short**, short*, unsigned short**)], r=marcoz, a=blocking2.x+
This commit is contained in:
parent
f8a3afcdae
commit
0f5f6be48e
@ -308,7 +308,7 @@ STDMETHODIMP nsAccessNodeWrap::get_attributesForNames(
|
|||||||
/* [length_is][size_is][retval] */ BSTR __RPC_FAR *aAttribValues)
|
/* [length_is][size_is][retval] */ BSTR __RPC_FAR *aAttribValues)
|
||||||
{
|
{
|
||||||
__try {
|
__try {
|
||||||
if (IsDefunct() || IsDocument())
|
if (IsDefunct() || !IsElement())
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
|
|
||||||
nsCOMPtr<nsIDOMElement> domElement(do_QueryInterface(mContent));
|
nsCOMPtr<nsIDOMElement> domElement(do_QueryInterface(mContent));
|
||||||
|
Loading…
Reference in New Issue
Block a user