Followup to Bug 789096 patch 8: fix indentation. No review.

The mis-indentation of the second argument to std::max predated this
patch (probably due to a substitution from something else to std::max),
and led to further misindentation in this patch.
This commit is contained in:
L. David Baron 2014-06-26 15:28:43 -07:00
Родитель 6197f631af
Коммит 8c92c37bad
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -1010,10 +1010,10 @@ nsBlockReflowState::ClearFloats(nscoord aBCoord, uint8_t aBreakType,
nsBlockFrame::WidthToClearPastFloats(*this, floatAvailableSpace.mRect,
aReplacedBlock);
if (std::max(floatAvailableSpace.mRect.x - ContentIStart(),
replacedWidth.marginLeft) +
replacedWidth.marginLeft) +
replacedWidth.borderBoxWidth +
std::max(ContentIEnd() - floatAvailableSpace.mRect.XMost(),
replacedWidth.marginRight) <=
std::max(ContentIEnd() - floatAvailableSpace.mRect.XMost(),
replacedWidth.marginRight) <=
ContentISize()) {
break;
}