mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1022612. Part 16: No need to exclude final transparent region from window opaque region. r=mattwoodrow
The removed code should be a no-op as long as the window opaque region is accurate enough. --HG-- extra : rebase_source : 7486f406da1f01ca13bb903c2a171e68da8aa6ab
This commit is contained in:
parent
bd0de1aa6f
commit
27f99eb18f
@ -3023,7 +3023,6 @@ nsLayoutUtils::PaintFrame(nsRenderingContext* aRenderingContext, nsIFrame* aFram
|
||||
nsIWidget *widget = aFrame->GetNearestWidget();
|
||||
if (widget) {
|
||||
nsRegion excludedRegion = builder.GetExcludedGlassRegion();
|
||||
excludedRegion.Sub(excludedRegion, visibleRegion);
|
||||
nsIntRegion windowRegion(excludedRegion.ToNearestPixels(presContext->AppUnitsPerDevPixel()));
|
||||
widget->UpdateOpaqueRegion(windowRegion);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user