diff --git a/editor/base/nsEditor.cpp b/editor/base/nsEditor.cpp index 58c1a780f1f1..7d369b5c2290 100644 --- a/editor/base/nsEditor.cpp +++ b/editor/base/nsEditor.cpp @@ -610,9 +610,11 @@ nsEditor::EndPlaceHolderTransaction() { plcTxn->EndPlaceHolderBatch(); } - else // but if we did make one it should be around + else { - NS_WARN_IF_FALSE(PR_FALSE, "should this ever happen?"); + // in the future we will check to make sure undo is off here, + // since that is the only known case where the placeholdertxn would disappear on us. + // For now just removing the assert. } } } diff --git a/editor/libeditor/base/nsEditor.cpp b/editor/libeditor/base/nsEditor.cpp index 58c1a780f1f1..7d369b5c2290 100644 --- a/editor/libeditor/base/nsEditor.cpp +++ b/editor/libeditor/base/nsEditor.cpp @@ -610,9 +610,11 @@ nsEditor::EndPlaceHolderTransaction() { plcTxn->EndPlaceHolderBatch(); } - else // but if we did make one it should be around + else { - NS_WARN_IF_FALSE(PR_FALSE, "should this ever happen?"); + // in the future we will check to make sure undo is off here, + // since that is the only known case where the placeholdertxn would disappear on us. + // For now just removing the assert. } } }