mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
Bug 845526 - Limit complexity of invalid region in RemoveFrameFromLayerManager. r=mattwoodrow
This commit is contained in:
parent
5ccdbadacb
commit
8f9549d254
@ -923,6 +923,7 @@ FrameLayerBuilder::RemoveFrameFromLayerManager(nsIFrame* aFrame,
|
||||
nsIntRegion rgn = old.ScaleToOutsidePixels(thebesData->mXScale, thebesData->mYScale, thebesData->mAppUnitsPerDevPixel);
|
||||
rgn.MoveBy(-GetTranslationForThebesLayer(t));
|
||||
thebesData->mRegionToInvalidate.Or(thebesData->mRegionToInvalidate, rgn);
|
||||
thebesData->mRegionToInvalidate.SimplifyOutward(8);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user