mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 19:37:15 +00:00
Fix shadowing warnings from bug 581222. r=dbaron a2.0=blocking2.0:beta5
This commit is contained in:
parent
1057aacaf3
commit
2b6d13adaa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user