зеркало из https://github.com/mozilla/gecko-dev.git
Bug 778104 - NS_IMPL_STRING_ATTR incorrectly uses bool as nsresult; r=bz
This commit is contained in:
Родитель
bc9c83fb09
Коммит
b044181b5e
|
@ -1051,8 +1051,8 @@ _elementName::Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const \
|
|||
NS_IMETHODIMP \
|
||||
_class::Get##_method(nsAString& aValue) \
|
||||
{ \
|
||||
/* XXX Invalid cast of bool to nsresult (bug 778104) */ \
|
||||
return (nsresult)GetAttr(kNameSpaceID_None, nsGkAtoms::_atom, aValue); \
|
||||
GetAttr(kNameSpaceID_None, nsGkAtoms::_atom, aValue); \
|
||||
return NS_OK; \
|
||||
} \
|
||||
NS_IMETHODIMP \
|
||||
_class::Set##_method(const nsAString& aValue) \
|
||||
|
|
Загрузка…
Ссылка в новой задаче