Fix call to wrong method (passing nscoord as enum). (Bug 747720, patch 4) r=roc

This commit is contained in:
L. David Baron 2012-05-20 22:18:27 -07:00
parent 4fa0c843c9
commit 0958cb6113

View File

@ -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);
}