зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset ed7a32143aeb (bug 1041530) for OS X debug mochitest failures
This commit is contained in:
Родитель
e0c40e5472
Коммит
59d4295a07
|
@ -2635,11 +2635,10 @@ ContainerState::ComputeOpaqueRect(nsDisplayItem* aItem,
|
|||
opaqueClipped.Contains(mContainerBounds)) {
|
||||
aList->SetIsOpaque();
|
||||
}
|
||||
// Add opaque areas to the "exclude glass" region. Only do this when our
|
||||
// container layer is going to be the rootmost layer, otherwise transforms
|
||||
// etc will mess us up (and opaque contributions from other containers are
|
||||
// not needed).
|
||||
if (!nsLayoutUtils::GetCrossDocParentFrame(mContainerFrame)) {
|
||||
// Add opaque areas to the "exclude glass" region. Only do this for
|
||||
// ThebesLayers which are direct children of the root layer; this means
|
||||
// they can't have transforms or opacity wrapping them.
|
||||
if (!mContainerLayer->GetParent()) {
|
||||
mBuilder->AddWindowOpaqueRegion(opaqueClipped);
|
||||
}
|
||||
opaquePixels = ScaleRegionToInsidePixels(opaqueClipped, snapOpaque);
|
||||
|
|
Загрузка…
Ссылка в новой задаче