mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 13:54:27 +00:00
bug 505894 remove double null check r=timeless
This commit is contained in:
parent
41de842d18
commit
ad5522015f
@ -319,11 +319,9 @@ nsTableRowGroupFrame::InitChildReflowState(nsPresContext& aPresContext,
|
||||
nsMargin padding(0,0,0,0);
|
||||
nsMargin* pCollapseBorder = nsnull;
|
||||
if (aBorderCollapse) {
|
||||
if (aReflowState.frame) {
|
||||
nsTableRowFrame *rowFrame = do_QueryFrame(aReflowState.frame);
|
||||
if (rowFrame) {
|
||||
pCollapseBorder = rowFrame->GetBCBorderWidth(collapseBorder);
|
||||
}
|
||||
nsTableRowFrame *rowFrame = do_QueryFrame(aReflowState.frame);
|
||||
if (rowFrame) {
|
||||
pCollapseBorder = rowFrame->GetBCBorderWidth(collapseBorder);
|
||||
}
|
||||
}
|
||||
aReflowState.Init(&aPresContext, -1, -1, pCollapseBorder, &padding);
|
||||
|
Loading…
Reference in New Issue
Block a user