Fixing build bustage

This commit is contained in:
bzbarsky@mit.edu 2007-05-04 23:37:05 -07:00
parent e63c5bfed6
commit c172ba40a4

View File

@ -593,7 +593,7 @@ nsComboboxControlFrame::GetPrefWidth(nsIRenderingContext *aRenderingContext)
nsIScrollableFrame* scrollable;
CallQueryInterface(mListControlFrame, &scrollable);
NS_ASSERTION(scrollable, "List must be a scrollable frame");
nsBoxLayoutState bls(GetPresContext(), aRenderingContext);
nsBoxLayoutState bls(PresContext(), aRenderingContext);
nscoord displayResult =
scrollable->GetDesiredScrollbarSizes(&bls).LeftRight() +
nsLayoutUtils::IntrinsicForContainer(aRenderingContext, mDisplayFrame,