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:
dbaron%dbaron.org 2006-01-26 06:10:52 +00:00
parent bcdf72e2dc
commit 68475d3fb4

View File

@ -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;}