mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 11:01:40 +00:00
Patch from Bruce Mitchener to fix gcc warning
This commit is contained in:
parent
d8f9a575e9
commit
a470d4824b
@ -185,7 +185,7 @@ public:
|
||||
NS_IMETHOD ClearRegions() = 0;
|
||||
};
|
||||
|
||||
void inline nsBandTrapezoid::GetRect(nsRect& aRect) const
|
||||
inline void nsBandTrapezoid::GetRect(nsRect& aRect) const
|
||||
{
|
||||
aRect.x = PR_MIN(xTopLeft, xBottomLeft);
|
||||
aRect.y = yTop;
|
||||
@ -193,7 +193,7 @@ void inline nsBandTrapezoid::GetRect(nsRect& aRect) const
|
||||
aRect.height = yBottom - yTop;
|
||||
}
|
||||
|
||||
void inline nsBandTrapezoid::operator=(const nsRect& aRect)
|
||||
inline void nsBandTrapezoid::operator=(const nsRect& aRect)
|
||||
{
|
||||
xTopLeft = xBottomLeft = aRect.x;
|
||||
xTopRight = xBottomRight = aRect.XMost();
|
||||
|
Loading…
x
Reference in New Issue
Block a user