Bug 1022612. Part 12: Propagate NeedsTransparentSurface in ProcessDisplayItems. r=mattwoodrow

--HG--
extra : rebase_source : ed15b100438912f12e3c556d2a6a43e8387b2981
This commit is contained in:
Robert O'Callahan 2014-06-09 16:48:00 +12:00
parent 2020b5417c
commit 54efd05508

View File

@ -2742,6 +2742,11 @@ ContainerState::ProcessDisplayItems(nsDisplayList* aList,
accumulateIntoThebesLayerData->Accumulate(this, item,
opaquePixels, itemVisibleRect, itemDrawRect, itemClip);
}
if (itemSameCoordinateSystemChildren &&
itemSameCoordinateSystemChildren->NeedsTransparentSurface()) {
aList->SetNeedsTransparentSurface();
}
}
aList->AppendToTop(&savedItems);