Bug 174055, part 4: mechanical fixups outside gfx.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user