diff --git a/editor/libeditor/base/DeleteTextTxn.cpp b/editor/libeditor/base/DeleteTextTxn.cpp index e41f0759cbd9..ac58217b4e9c 100644 --- a/editor/libeditor/base/DeleteTextTxn.cpp +++ b/editor/libeditor/base/DeleteTextTxn.cpp @@ -40,7 +40,7 @@ DeleteTextTxn::Init(nsEditor* aEditor, PRUint32 aNumCharsToDelete, nsRangeUpdater* aRangeUpdater) { - MOZ_ASSERT(aEditor && aCharData && aNumCharsToDelete); + MOZ_ASSERT(aEditor && aCharData); mEditor = aEditor; mCharData = aCharData;