From 0958cb6113dea833726a1a08a0aa490f33f333c6 Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Sun, 20 May 2012 22:18:27 -0700 Subject: [PATCH] Fix call to wrong method (passing nscoord as enum). (Bug 747720, patch 4) r=roc --- layout/forms/nsListControlFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }