Bug 1022612. Part 43: Fix up SuppressComponentAlpha to allow component alpha in inactive layers over opaque parts of the chrome window. r=mattwoodrow
This commit is contained in:
@@ -3019,7 +3019,7 @@ nsLayoutUtils::PaintFrame(nsRenderingContext* aRenderingContext, nsIFrame* aFram
|
||||
!(aFlags & PAINT_DOCUMENT_RELATIVE)) {
|
||||
nsIWidget *widget = aFrame->GetNearestWidget();
|
||||
if (widget) {
|
||||
nsRegion excludedRegion = builder.GetExcludedGlassRegion();
|
||||
nsRegion excludedRegion = builder.GetWindowOpaqueRegion();
|
||||
nsIntRegion windowRegion(excludedRegion.ToNearestPixels(presContext->AppUnitsPerDevPixel()));
|
||||
widget->UpdateOpaqueRegion(windowRegion);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user