Bug 870555 part 1: Add curly braces around early-return in nsBlockFrame::GetSkipSides, for clarity. r=mats

This commit is contained in:
Daniel Holbert 2013-05-09 20:10:47 -07:00
parent 810f76b196
commit 448db15f5b

View File

@ -6002,8 +6002,9 @@ nsBlockFrame::RecoverFloatsFor(nsIFrame* aFrame,
int
nsBlockFrame::GetSkipSides() const
{
if (IS_TRUE_OVERFLOW_CONTAINER(this))
if (IS_TRUE_OVERFLOW_CONTAINER(this)) {
return (1 << NS_SIDE_TOP) | (1 << NS_SIDE_BOTTOM);
}
int skip = 0;
if (GetPrevInFlow()) {