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:
Robert O'Callahan 2014-06-09 16:48:01 +12:00
parent bd0de1aa6f
commit 27f99eb18f

View File

@ -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);
}