Fixing build bustage

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

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,