mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 840372: Don't let valid regions grow beyond 8 rects. r=roc
This commit is contained in:
parent
4dcee2ea37
commit
6c35700be5
@ -397,6 +397,10 @@ BasicShadowableThebesLayer::PaintBuffer(gfxContext* aContext,
|
||||
LayerManager::DrawThebesLayerCallback aCallback,
|
||||
void* aCallbackData)
|
||||
{
|
||||
// NB: this just throws away the entire valid region if there are
|
||||
// too many rects.
|
||||
mValidRegion.SimplifyInward(8);
|
||||
|
||||
Base::PaintBuffer(aContext,
|
||||
aRegionToDraw, aExtendedRegionToDraw, aRegionToInvalidate,
|
||||
aDidSelfCopy,
|
||||
|
Loading…
Reference in New Issue
Block a user