diff --git a/layout/forms/nsListControlFrame.cpp b/layout/forms/nsListControlFrame.cpp index f1ae61bf567..9ef03c76309 100644 --- a/layout/forms/nsListControlFrame.cpp +++ b/layout/forms/nsListControlFrame.cpp @@ -363,7 +363,7 @@ nsListControlFrame::CalcHeightOfARow() // heightOfARow first) if (heightOfARow == 0 && GetNumberOfOptions() == 0) { float inflation = - nsLayoutUtils::FontSizeInflationInner(this, nsLayoutUtils::eInReflow); + nsLayoutUtils::FontSizeInflationFor(this, nsLayoutUtils::eInReflow); heightOfARow = CalcFallbackRowHeight(inflation); }