From 448db15f5bce2dacdfb27797dd2243e5f81efb0c Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Thu, 9 May 2013 20:10:47 -0700 Subject: [PATCH] Bug 870555 part 1: Add curly braces around early-return in nsBlockFrame::GetSkipSides, for clarity. r=mats --- layout/generic/nsBlockFrame.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index 1b9d5b2237e..3e31004d48f 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -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()) {