зеркало из https://github.com/mozilla/pjs.git
removed calls to DidReflow on browse button and text area
This commit is contained in:
Родитель
4fe774fe81
Коммит
15fba10580
|
@ -141,7 +141,6 @@ NS_IMETHODIMP nsInputFileFrame::Reflow(nsIPresContext& aPresContext,
|
|||
NS_ASSERTION(NS_FRAME_IS_COMPLETE(aStatus), "bad status");
|
||||
nsRect rect(offset.x, offset.y, desiredSize.width, desiredSize.height);
|
||||
childFrame->SetRect(rect);
|
||||
childFrame->DidReflow(aPresContext, NS_FRAME_REFLOW_FINISHED);
|
||||
maxSize.width -= desiredSize.width;
|
||||
aDesiredSize.width += desiredSize.width;
|
||||
aDesiredSize.height = desiredSize.height;
|
||||
|
|
Загрузка…
Ссылка в новой задаче