clean up some form control stuff (use common helpers and superclasses
for shared functionality where possible). r=jkeiser, sr=jst git-svn-id: svn://10.0.0.236/trunk@126548 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -401,11 +401,7 @@ nsImageControlFrame::GetType(PRInt32* aType) const
|
||||
NS_IMETHODIMP
|
||||
nsImageControlFrame::GetName(nsAString* aResult)
|
||||
{
|
||||
if (nsnull == aResult) {
|
||||
return NS_OK;
|
||||
} else {
|
||||
return nsFormControlHelper::GetName(mContent, aResult);
|
||||
}
|
||||
return nsFormControlHelper::GetName(mContent, aResult);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user