Bug 1141089 - Check that we're unsetting sDestroyedFrame correctly. r=roc

This commit is contained in:
Markus Stange 2015-04-10 17:34:28 -04:00
parent 60cee5ca65
commit 8bfcb8d3fa

View File

@ -1510,6 +1510,7 @@ GetTranslationForPaintedLayer(PaintedLayer* aLayer)
FrameLayerBuilder::RemoveFrameFromLayerManager(nsIFrame* aFrame,
void* aPropertyValue)
{
MOZ_RELEASE_ASSERT(!sDestroyedFrame);
sDestroyedFrame = aFrame;
nsTArray<DisplayItemData*> *array =
reinterpret_cast<nsTArray<DisplayItemData*>*>(aPropertyValue);