mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1147707 - Intersect correctly in DisplayItemClip::ApplyNonRoundedIntersection. r=roc
This commit is contained in:
parent
eda3d21adf
commit
c72f3c4fe8
@ -327,7 +327,7 @@ DisplayItemClip::ApplyNonRoundedIntersection(const nsRect& aRect) const
|
||||
nsRect result = aRect.Intersect(mClipRect);
|
||||
for (uint32_t i = 0, iEnd = mRoundedClipRects.Length();
|
||||
i < iEnd; ++i) {
|
||||
result.Intersect(mRoundedClipRects[i].mRect);
|
||||
result = result.Intersect(mRoundedClipRects[i].mRect);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user