Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -195,13 +195,17 @@ nsHTMLButtonControlFrame::GetFormControlType() const
|
||||
NS_IMETHODIMP
|
||||
nsHTMLButtonControlFrame::GetName(nsAString* aResult)
|
||||
{
|
||||
return nsFormControlHelper::GetName(mContent, aResult);
|
||||
nsFormControlHelper::GetName(mContent, aResult);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLButtonControlFrame::GetValue(nsAString* aResult)
|
||||
{
|
||||
return nsFormControlHelper::GetValueAttr(mContent, aResult);
|
||||
nsFormControlHelper::GetValueAttr(mContent, aResult);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user