mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Fixing build breakage.
This commit is contained in:
parent
77f6f5e06e
commit
b27c30186d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user