Guess at Windows (pacifica) bustage fix, and more consistent with existing code anyway.
git-svn-id: svn://10.0.0.236/trunk@188220 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
bcdf72e2dc
commit
68475d3fb4
@ -95,7 +95,7 @@ struct NS_GFX nsRect {
|
||||
void SetRect(nscoord aX, nscoord aY, nscoord aWidth, nscoord aHeight) {
|
||||
x = aX; y = aY; width = aWidth; height = aHeight;
|
||||
}
|
||||
void SetRect(nsPoint aPt, nsSize aSize) {
|
||||
void SetRect(const nsPoint& aPt, const nsSize& aSize) {
|
||||
SetRect(aPt.x, aPt.y, aSize.width, aSize.height);
|
||||
}
|
||||
void MoveTo(nscoord aX, nscoord aY) {x = aX; y = aY;}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user