mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 937858: Rename border-only variable from "bp" to "border", to avoid confusion with border/padding. r=mats
This commit is contained in:
parent
1da3373a87
commit
8d1182088f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user