mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
nsresult -> NS_IMETHODIMP on some of the nsIDOMAttr methods. r=sicking
This commit is contained in:
parent
dc4d9d09d9
commit
fb9313e95b
@ -155,14 +155,14 @@ nsDOMAttribute::SetOwnerDocument(nsIDocument* aDocument)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
NS_IMETHODIMP
|
||||
nsDOMAttribute::GetName(nsAString& aName)
|
||||
{
|
||||
mNodeInfo->GetQualifiedName(aName);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
NS_IMETHODIMP
|
||||
nsDOMAttribute::GetValue(nsAString& aValue)
|
||||
{
|
||||
nsIContent* content = GetContentInternal();
|
||||
@ -176,7 +176,7 @@ nsDOMAttribute::GetValue(nsAString& aValue)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
NS_IMETHODIMP
|
||||
nsDOMAttribute::SetValue(const nsAString& aValue)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
@ -195,7 +195,7 @@ nsDOMAttribute::SetValue(const nsAString& aValue)
|
||||
return rv;
|
||||
}
|
||||
|
||||
nsresult
|
||||
NS_IMETHODIMP
|
||||
nsDOMAttribute::GetSpecified(PRBool* aSpecified)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aSpecified);
|
||||
|
Loading…
Reference in New Issue
Block a user