зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1141089 - Turn these two assertions into release assertions. r=roc
--HG-- extra : rebase_source : dbdaa24b17ce6c6b6746233cbd7c1c3fe3efa03d
This commit is contained in:
Родитель
1cc08a8e75
Коммит
591611146d
|
@ -81,12 +81,12 @@ void
|
|||
FrameLayerBuilder::DisplayItemData::RemoveFrame(nsIFrame* aFrame)
|
||||
{
|
||||
MOZ_RELEASE_ASSERT(mLayer);
|
||||
DebugOnly<bool> result = mFrameList.RemoveElement(aFrame);
|
||||
NS_ASSERTION(result, "Can't remove a frame that wasn't added!");
|
||||
bool result = mFrameList.RemoveElement(aFrame);
|
||||
MOZ_RELEASE_ASSERT(result, "Can't remove a frame that wasn't added!");
|
||||
|
||||
nsTArray<DisplayItemData*>* array =
|
||||
static_cast<nsTArray<DisplayItemData*>*>(aFrame->Properties().Get(FrameLayerBuilder::LayerManagerDataProperty()));
|
||||
NS_ASSERTION(array, "Must be already stored on the frame!");
|
||||
MOZ_RELEASE_ASSERT(array, "Must be already stored on the frame!");
|
||||
array->RemoveElement(this);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче