зеркало из https://github.com/mozilla/gecko-dev.git
bug 36367
r=rods fix was to pass in the correct width during certain types of incremental reflows.
This commit is contained in:
Родитель
fc639ba5aa
Коммит
7f1b174ffc
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче