mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1054054 part 4: Remove stale XXXdholbert comment from ReflowFlexItem. (no review, comment-only)
This commit is contained in:
parent
14edea4218
commit
38ef50f263
@ -3848,14 +3848,6 @@ nsFlexContainerFrame::ReflowFlexItem(nsPresContext* aPresContext,
|
||||
|
||||
// Save the first child's ascent; it may establish container's baseline.
|
||||
if (aItem.Frame() == mFrames.FirstChild()) {
|
||||
// XXXdholbert (This clause may look a bit odd right now, split as it
|
||||
// is from the code immediately after it, which *uses* |item|'s saved
|
||||
// ascent. It may superficially look like these clauses should just be
|
||||
// merged. The separation will make more sense once we change this flex
|
||||
// item's final reflow to be *optional*, in bug 1054010. That bug will
|
||||
// shift *this* clause to a different logic level -- conditional on
|
||||
// whether |item| needs a final reflow -- whereas the subsequent clause
|
||||
// will not be shifted.)
|
||||
aItem.SetAscent(childDesiredSize.BlockStartAscent());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user