зеркало из https://github.com/mozilla/gecko-dev.git
Bug 806001: Make nsListControlFrame pass a nsDidReflowStatus instead of a nsReflowStatus in its DidReflow calls. r=dbaron
This commit is contained in:
Родитель
bc2b8feb07
Коммит
21a7d74f36
|
@ -465,7 +465,8 @@ nsListControlFrame::Reflow(nsPresContext* aPresContext,
|
|||
// or anything like that? We might need to, per the letter of the reflow
|
||||
// protocol, but things seem to work fine without it... Is that just an
|
||||
// implementation detail of nsHTMLScrollFrame that we're depending on?
|
||||
nsHTMLScrollFrame::DidReflow(aPresContext, &state, aStatus);
|
||||
nsHTMLScrollFrame::DidReflow(aPresContext, &state,
|
||||
NS_FRAME_REFLOW_FINISHED);
|
||||
|
||||
// Now compute the height we want to have
|
||||
nscoord computedHeight = CalcIntrinsicHeight(HeightOfARow(), length);
|
||||
|
@ -546,7 +547,8 @@ nsListControlFrame::ReflowAsDropdown(nsPresContext* aPresContext,
|
|||
// or anything like that? We might need to, per the letter of the reflow
|
||||
// protocol, but things seem to work fine without it... Is that just an
|
||||
// implementation detail of nsHTMLScrollFrame that we're depending on?
|
||||
nsHTMLScrollFrame::DidReflow(aPresContext, &state, aStatus);
|
||||
nsHTMLScrollFrame::DidReflow(aPresContext, &state,
|
||||
NS_FRAME_REFLOW_FINISHED);
|
||||
|
||||
// Now compute the height we want to have.
|
||||
// Note: no need to apply min/max constraints, since we have no such
|
||||
|
|
Загрузка…
Ссылка в новой задаче