mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1450249. blob-invalidation: Round the bounds. r=mstange
This fixes a number of reftest failures. --HG-- extra : rebase_source : 70b934e9abadded46d1ef8a08d76e69a3e420852
This commit is contained in:
parent
1875600259
commit
136be180bf
@ -540,7 +540,10 @@ struct DIGroup
|
||||
}
|
||||
}
|
||||
|
||||
// Round the bounds in a way that matches the existing fallback code
|
||||
LayoutDeviceRect bounds = LayoutDeviceRect::FromAppUnits(mGroupBounds, aGrouper->mAppUnitsPerDevPixel);
|
||||
bounds = LayoutDeviceRect(RoundedToInt(bounds));
|
||||
|
||||
IntSize size = mGroupBounds.Size().ScaleToNearestPixels(mScale.width, mScale.height, aGrouper->mAppUnitsPerDevPixel);
|
||||
|
||||
if (mInvalidRect.IsEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user