Fixing build breakage.

This commit is contained in:
saari%netscape.com 1998-12-02 04:26:16 +00:00
parent 77f6f5e06e
commit b27c30186d

View File

@ -690,13 +690,14 @@ NS_IMETHODIMP nsRenderingContextMac :: SetClipRegion(const nsIRegion& aRegion, n
nsRegionMac *pRegion = (nsRegionMac *)&aRegion;
mregion = pRegion->GetRegion();
mrect = (**mregion).rgnBBox;
//pRegion->GetNativeRegion(&mregion);
//mrect = (**mregion).rgnBBox;
pRegion->GetBoundingBox(&rect.x, &rect.y, &rect.width, &rect.height);
rect.x = mrect.left;
rect.y = mrect.top;
rect.width = mrect.right-mrect.left;
rect.height = mrect.bottom-mrect.top;
//rect.x = mrect.left;
//rect.y = mrect.top;
//rect.width = mrect.right-mrect.left;
//rect.height = mrect.bottom-mrect.top;
SetClipRectInPixels(rect, aCombine, aClipEmpty);