mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-05 17:05:38 +00:00
#565: M1367219
This commit is contained in:
parent
09a4a8bfc7
commit
6f63dc2cc3
@ -243,8 +243,13 @@ FrameLayerBuilder::DisplayItemData::~DisplayItemData()
|
||||
array->RemoveElement(this);
|
||||
}
|
||||
|
||||
MOZ_RELEASE_ASSERT(sAliveDisplayItemDatas && sAliveDisplayItemDatas->Contains(this));
|
||||
sAliveDisplayItemDatas->RemoveEntry(this);
|
||||
MOZ_RELEASE_ASSERT(sAliveDisplayItemDatas);
|
||||
nsPtrHashKey<FrameLayerBuilder::DisplayItemData>* entry
|
||||
= sAliveDisplayItemDatas->GetEntry(this);
|
||||
MOZ_RELEASE_ASSERT(entry);
|
||||
|
||||
sAliveDisplayItemDatas->RemoveEntry(entry);
|
||||
|
||||
if (sAliveDisplayItemDatas->Count() == 0) {
|
||||
delete sAliveDisplayItemDatas;
|
||||
sAliveDisplayItemDatas = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user