зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
6197f631af
Коммит
8c92c37bad
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче