Remove code that I need to back out that slipped into the wrong patch

This commit is contained in:
Robert O'Callahan 2010-05-24 10:52:28 +12:00
parent 7ee0dabbad
commit 29967ae259

View File

@ -422,9 +422,6 @@ FrameLayerBuilder::MakeContainerLayerFor(nsDisplayListBuilder* aBuilder,
Layer* child = layerItems[i]->mLayer;
container->InsertAfter(child, lastChild);
lastChild = child;
// release the layer now because the ItemGroup destructor doesn't run;
// the container is still holding a reference to it
layerItems[i]->mLayer = nsnull;
}
container->SetIsOpaqueContent(aChildren.IsOpaque());
nsRefPtr<Layer> layer = container.forget();