Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc

This commit is contained in:
L. David Baron 2011-11-23 18:48:23 -08:00
parent 4053e3de9f
commit 25c4c1ad91

View File

@ -646,7 +646,8 @@ nsInlineFrame::ReflowFrames(nsPresContext* aPresContext,
}
nsRefPtr<nsFontMetrics> fm;
nsLayoutUtils::GetFontMetricsForFrame(this, getter_AddRefs(fm));
float inflation = nsLayoutUtils::FontSizeInflationFor(aReflowState);
nsLayoutUtils::GetFontMetricsForFrame(this, getter_AddRefs(fm), inflation);
aReflowState.rendContext->SetFont(fm);
if (fm) {