Fix shadowing warnings from bug 581222. r=dbaron a2.0=blocking2.0:beta5

This commit is contained in:
Robert O'Callahan 2010-09-17 12:29:52 -07:00
parent 1057aacaf3
commit 2b6d13adaa

View File

@ -137,8 +137,8 @@ struct THEBES_API gfxRect {
Inset(sides[0], sides[1], sides[2], sides[3]);
}
void Inset(const gfxIntSize& size) {
Inset(size.height, size.width, size.height, size.width);
void Inset(const gfxIntSize& aSize) {
Inset(aSize.height, aSize.width, aSize.height, aSize.width);
}
void Outset(gfxFloat k) {
@ -159,8 +159,8 @@ struct THEBES_API gfxRect {
Outset(sides[0], sides[1], sides[2], sides[3]);
}
void Outset(const gfxIntSize& size) {
Outset(size.height, size.width, size.height, size.width);
void Outset(const gfxIntSize& aSize) {
Outset(aSize.height, aSize.width, aSize.height, aSize.width);
}
// Round the rectangle edges to integer coordinates, such that the rounded