Bug 937858: Rename border-only variable from "bp" to "border", to avoid confusion with border/padding. r=mats

This commit is contained in:
Daniel Holbert 2013-11-12 17:14:50 -08:00
parent 1da3373a87
commit 8d1182088f

View File

@ -979,10 +979,10 @@ nsIFrame::ApplySkipSides(nsMargin& aMargin,
nsRect
nsIFrame::GetPaddingRectRelativeToSelf() const
{
nsMargin bp(GetUsedBorder());
ApplySkipSides(bp);
nsMargin border(GetUsedBorder());
ApplySkipSides(border);
nsRect r(0, 0, mRect.width, mRect.height);
r.Deflate(bp);
r.Deflate(border);
return r;
}