Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user