Bug 174055, part 4: mechanical fixups outside gfx.

This commit is contained in:
Zack Weinberg
2011-04-07 18:05:49 -07:00
parent 5a561b633c
commit 2da91ac5cb
46 changed files with 101 additions and 101 deletions

View File

@@ -510,7 +510,7 @@ nsPageFrame::PaintHeaderFooter(nsRenderingContext& aRenderingContext,
aRenderingContext.SetColor(NS_RGB(0,0,0));
// Get the FontMetrics to determine width.height of strings
nsCOMPtr<nsIFontMetrics> fontMet;
nsRefPtr<nsFontMetrics> fontMet;
pc->DeviceContext()->GetMetricsFor(*mPD->mHeadFootFont,
pc->GetUserFontSet(),
*getter_AddRefs(fontMet));