Bug 636093: Remove assertion that's no longer asserting what it was intended to. r=roc a=a

This commit is contained in:
Chris Jones 2011-02-24 15:59:26 -06:00
parent 75fe047e55
commit 184d25116b

View File

@ -1743,8 +1743,6 @@ public:
}
virtual ~BasicShadowableThebesLayer()
{
NS_ABORT_IF_FALSE(!HasShadow() || !BasicManager()->InTransaction(),
"Shadow layers can't be destroyed during txns!");
if (IsSurfaceDescriptorValid(mBackBuffer))
BasicManager()->ShadowLayerForwarder::DestroySharedSurface(&mBackBuffer);
MOZ_COUNT_DTOR(BasicShadowableThebesLayer);