Bug 997709 part 1 - nsComboboxDisplayFrame can't be split so its reflow status is always NS_FRAME_COMPLETE. r=heycam

This commit is contained in:
Mats Palmgren 2015-05-27 22:18:36 +00:00
parent a57fd54cfb
commit 04a33bdbc3

View File

@ -1285,8 +1285,8 @@ nsComboboxDisplayFrame::Reflow(nsPresContext* aPresContext,
computedWidth = 0; computedWidth = 0;
} }
state.SetComputedWidth(computedWidth); state.SetComputedWidth(computedWidth);
nsBlockFrame::Reflow(aPresContext, aDesiredSize, state, aStatus);
return nsBlockFrame::Reflow(aPresContext, aDesiredSize, state, aStatus); aStatus = NS_FRAME_COMPLETE; // this type of frame can't be split
} }
void void