mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
Fixing build bustage
This commit is contained in:
parent
39e2979741
commit
b2ab6a6008
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user