Backed out changeset 2f69dc403886 (bug 1716714) for causing bug 1717007.

This commit is contained in:
Ryan VanderMeulen 2021-06-17 10:56:58 -04:00
Родитель 81c32a2ea5
Коммит 52692e2ba0
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -79,10 +79,7 @@ NS_IMETHODIMP DeleteNodeTransaction::DoTransaction() {
return NS_OK;
}
// TODO(krosylight): Restore this as a MOZ_ASSERT after fixing bug 1716714
// MOZ_ASSERT_IF(mEditorBase->IsTextEditor(), !mContentToDelete->IsText());
MOZ_DIAGNOSTIC_ASSERT(!mEditorBase->IsTextEditor() ||
!mContentToDelete->IsText());
MOZ_ASSERT_IF(mEditorBase->IsTextEditor(), !mContentToDelete->IsText());
// Remember which child mContentToDelete was (by remembering which child was
// next). Note that mRefContent can be nullptr.