Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
This commit is contained in:
@@ -66,13 +66,13 @@ nsTableCellFrame::GetNextCell() const
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
void
|
||||
nsTableCellFrame::Init(nsIContent* aContent,
|
||||
nsIFrame* aParent,
|
||||
nsIFrame* aPrevInFlow)
|
||||
{
|
||||
// Let the base class do its initialization
|
||||
nsresult rv = nsContainerFrame::Init(aContent, aParent, aPrevInFlow);
|
||||
nsContainerFrame::Init(aContent, aParent, aPrevInFlow);
|
||||
|
||||
if (GetStateBits() & NS_FRAME_FONT_INFLATION_CONTAINER) {
|
||||
AddStateBits(NS_FRAME_FONT_INFLATION_FLOW_ROOT);
|
||||
@@ -85,8 +85,6 @@ nsTableCellFrame::Init(nsIContent* aContent,
|
||||
cellFrame->GetColIndex(colIndex);
|
||||
SetColIndex(colIndex);
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
// nsIPercentHeightObserver methods
|
||||
|
||||
Reference in New Issue
Block a user