Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.

This commit is contained in:
Jan Küchler
2011-04-07 18:04:39 -07:00
parent 9cc0c4fba8
commit ed48629385
41 changed files with 141 additions and 167 deletions

View File

@@ -339,7 +339,7 @@ nsTableCellFrame::DecorateForSelection(nsIRenderingContext& aRenderingContext,
bordercolor = EnsureDifferentColors(bordercolor,
GetStyleBackground()->mBackgroundColor);
nsIRenderingContext::AutoPushTranslation
translate(&aRenderingContext, aPt.x, aPt.y);
translate(&aRenderingContext, aPt);
nscoord onePixel = nsPresContext::CSSPixelsToAppUnits(1);
aRenderingContext.SetColor(bordercolor);