r=rods
fix was to pass in the correct width during certain types of incremental reflows.
This commit is contained in:
buster%netscape.com 2000-06-05 03:50:46 +00:00
Родитель fc639ba5aa
Коммит 7f1b174ffc
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1306,7 +1306,7 @@ nsComboboxControlFrame::Reflow(nsIPresContext* aPresContext,
if (targetFrame == mDisplayFrame) {
nsresult rv = ReflowComboChildFrame(mDisplayFrame, aPresContext, aDesiredSize,
aReflowState, aStatus,
aReflowState.availableWidth,
mCacheSize.width,
aReflowState.availableHeight);
NS_ASSERTION(aDesiredSize.width != kSizeNotSet, "aDesiredSize.width != kSizeNotSet");
NS_ASSERTION(aDesiredSize.height != kSizeNotSet, "aDesiredSize.height != kSizeNotSet");

Просмотреть файл

@ -1306,7 +1306,7 @@ nsComboboxControlFrame::Reflow(nsIPresContext* aPresContext,
if (targetFrame == mDisplayFrame) {
nsresult rv = ReflowComboChildFrame(mDisplayFrame, aPresContext, aDesiredSize,
aReflowState, aStatus,
aReflowState.availableWidth,
mCacheSize.width,
aReflowState.availableHeight);
NS_ASSERTION(aDesiredSize.width != kSizeNotSet, "aDesiredSize.width != kSizeNotSet");
NS_ASSERTION(aDesiredSize.height != kSizeNotSet, "aDesiredSize.height != kSizeNotSet");