Fix overly long lines. r=kin sr=waterson b=106658

This commit is contained in:
dbaron@fas.harvard.edu
2001-11-15 07:30:09 +00:00
parent aa92128509
commit f8ddd6fbdd
2 changed files with 30 additions and 8 deletions

View File

@@ -5740,17 +5740,26 @@ nsBlockFrame::GetFrameForPoint(nsIPresContext* aPresContext,
}
if (mFloaters.NotEmpty()) {
rv = GetFrameForPointUsing(aPresContext, aPoint, nsLayoutAtoms::floaterList, NS_FRAME_PAINT_LAYER_FOREGROUND, PR_FALSE, aFrame);
rv = GetFrameForPointUsing(aPresContext, aPoint,
nsLayoutAtoms::floaterList,
NS_FRAME_PAINT_LAYER_FOREGROUND,
PR_FALSE, aFrame);
if (NS_OK == rv) {
return NS_OK;
}
rv = GetFrameForPointUsing(aPresContext, aPoint, nsLayoutAtoms::floaterList, NS_FRAME_PAINT_LAYER_FLOATERS, PR_FALSE, aFrame);
rv = GetFrameForPointUsing(aPresContext, aPoint,
nsLayoutAtoms::floaterList,
NS_FRAME_PAINT_LAYER_FLOATERS,
PR_FALSE, aFrame);
if (NS_OK == rv) {
return NS_OK;
}
return GetFrameForPointUsing(aPresContext, aPoint, nsLayoutAtoms::floaterList, NS_FRAME_PAINT_LAYER_BACKGROUND, PR_FALSE, aFrame);
return GetFrameForPointUsing(aPresContext, aPoint,
nsLayoutAtoms::floaterList,
NS_FRAME_PAINT_LAYER_BACKGROUND,
PR_FALSE, aFrame);
} else {
return NS_ERROR_FAILURE;
@@ -5759,7 +5768,9 @@ nsBlockFrame::GetFrameForPoint(nsIPresContext* aPresContext,
case NS_FRAME_PAINT_LAYER_BACKGROUND:
// we're a block, so PR_TRUE for consider self
return GetFrameForPointUsing(aPresContext, aPoint, nsnull, NS_FRAME_PAINT_LAYER_BACKGROUND, PR_TRUE, aFrame);
return GetFrameForPointUsing(aPresContext, aPoint, nsnull,
NS_FRAME_PAINT_LAYER_BACKGROUND,
PR_TRUE, aFrame);
break;
}
// we shouldn't get here