Bug 1105828 patch 2: Don't set UNCONSTRAINEDSIZE in an availSpace that we aren't going to use, r=jfkthame

This commit is contained in:
Simon Montagu 2014-11-28 06:53:59 -08:00
parent a4a112e2b6
commit 94926c7600

View File

@ -3118,7 +3118,6 @@ nsBlockFrame::ReflowBlockFrame(nsBlockReflowState& aState,
// margin seems like a waste. And we do this for almost every block!
WritingMode wm = frame->GetWritingMode();
LogicalSize availSpace = aState.ContentSize(wm);
availSpace.BSize(wm) = NS_UNCONSTRAINEDSIZE;
nsHTMLReflowState reflowState(aState.mPresContext, aState.mReflowState,
frame, availSpace);