Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc

This commit is contained in:
L. David Baron
2008-06-03 15:25:31 -07:00
parent 6a4c651d21
commit 0a538a162d
6 changed files with 9 additions and 9 deletions

View File

@@ -239,7 +239,7 @@ nsHTMLContainerFrame::PaintTextDecorationLine(
}
}
nscoord innerWidth = mRect.width - bp.left - bp.right;
nsRefPtr<gfxContext> ctx = aRenderingContext.ThebesContext();
gfxContext *ctx = aRenderingContext.ThebesContext();
gfxPoint pt(PresContext()->AppUnitsToGfxUnits(bp.left + aPt.x),
PresContext()->AppUnitsToGfxUnits(bp.top + aPt.y));
gfxSize size(PresContext()->AppUnitsToGfxUnits(innerWidth), aSize);