Bug 1015781 - part 1+2, Make the SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods return void (scripted change). Remove code handling the return values. r=roc
This commit is contained in:
@@ -1184,11 +1184,11 @@ nsTextControlFrame::GetMaxLength(int32_t* aSize)
|
||||
|
||||
// END IMPLEMENTING NS_IFORMCONTROLFRAME
|
||||
|
||||
nsresult
|
||||
void
|
||||
nsTextControlFrame::SetInitialChildList(ChildListID aListID,
|
||||
nsFrameList& aChildList)
|
||||
{
|
||||
nsresult rv = nsContainerFrame::SetInitialChildList(aListID, aChildList);
|
||||
nsContainerFrame::SetInitialChildList(aListID, aChildList);
|
||||
|
||||
nsIFrame* first = GetFirstPrincipalChild();
|
||||
|
||||
@@ -1216,7 +1216,6 @@ nsTextControlFrame::SetInitialChildList(ChildListID aListID,
|
||||
delete contentScrollPos;
|
||||
}
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user