From 68475d3fb43ca0fc69e618c8ea67e3fb15bfd3a3 Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Thu, 26 Jan 2006 06:10:52 +0000 Subject: [PATCH] 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 --- mozilla/gfx/public/nsRect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/gfx/public/nsRect.h b/mozilla/gfx/public/nsRect.h index 43906029dc1..3dedb7a86e8 100644 --- a/mozilla/gfx/public/nsRect.h +++ b/mozilla/gfx/public/nsRect.h @@ -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;}