diff --git a/mozilla/layout/forms/nsComboboxControlFrame.cpp b/mozilla/layout/forms/nsComboboxControlFrame.cpp index f7dd3a9591b..64fa21a6761 100644 --- a/mozilla/layout/forms/nsComboboxControlFrame.cpp +++ b/mozilla/layout/forms/nsComboboxControlFrame.cpp @@ -1175,6 +1175,7 @@ nsComboboxControlFrame::Reflow(nsPresContext* aPresContext, aDesiredSize.mOverflowArea.y = 0; aDesiredSize.mOverflowArea.width = aDesiredSize.width; aDesiredSize.mOverflowArea.height = aDesiredSize.height; + FinishAndStoreOverflow(&aDesiredSize); return NS_OK; } @@ -1420,6 +1421,7 @@ nsComboboxControlFrame::Reflow(nsPresContext* aPresContext, aDesiredSize.mOverflowArea.y = 0; aDesiredSize.mOverflowArea.width = aDesiredSize.width; aDesiredSize.mOverflowArea.height = aDesiredSize.height; + FinishAndStoreOverflow(&aDesiredSize); return NS_OK; } } else { diff --git a/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp b/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp index f7dd3a9591b..64fa21a6761 100644 --- a/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp +++ b/mozilla/layout/html/forms/src/nsComboboxControlFrame.cpp @@ -1175,6 +1175,7 @@ nsComboboxControlFrame::Reflow(nsPresContext* aPresContext, aDesiredSize.mOverflowArea.y = 0; aDesiredSize.mOverflowArea.width = aDesiredSize.width; aDesiredSize.mOverflowArea.height = aDesiredSize.height; + FinishAndStoreOverflow(&aDesiredSize); return NS_OK; } @@ -1420,6 +1421,7 @@ nsComboboxControlFrame::Reflow(nsPresContext* aPresContext, aDesiredSize.mOverflowArea.y = 0; aDesiredSize.mOverflowArea.width = aDesiredSize.width; aDesiredSize.mOverflowArea.height = aDesiredSize.height; + FinishAndStoreOverflow(&aDesiredSize); return NS_OK; } } else {