Bug 1751587 - Demote MOZ_RELEASE_ASSERT to MOZ_DIAGNOSTIC_ASSERT r=emilio

Depends on D136731

Differential Revision: https://phabricator.services.mozilla.com/D136732
This commit is contained in:
Miko Mynttinen 2022-01-24 14:48:14 +00:00
parent e0c95c4513
commit 138ffc5f52

View File

@ -1087,8 +1087,8 @@ void nsIFrame::RemoveDisplayItemDataForDeletion() {
if (!updateData) {
// No RetainedDisplayListData to update.
MOZ_RELEASE_ASSERT(!data->IsModified(this),
"Deleted frame is in modified frame list");
MOZ_DIAGNOSTIC_ASSERT(!data->IsModified(this),
"Deleted frame is in modified frame list");
return;
}