From 7436d3b7b4382ea9c19d0ee29c095784dbfc76a2 Mon Sep 17 00:00:00 2001 From: "roc+%cs.cmu.edu" Date: Tue, 4 Jul 2006 02:17:22 +0000 Subject: [PATCH] Adding assertion to investigate balsa orange. --- extensions/spellcheck/src/mozInlineSpellWordUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/spellcheck/src/mozInlineSpellWordUtil.cpp b/extensions/spellcheck/src/mozInlineSpellWordUtil.cpp index b2aaa3281c34..85074382e782 100644 --- a/extensions/spellcheck/src/mozInlineSpellWordUtil.cpp +++ b/extensions/spellcheck/src/mozInlineSpellWordUtil.cpp @@ -95,8 +95,9 @@ mozInlineSpellWordUtil::Init(nsWeakPtr aWeakEditor) nsCOMPtr rootElt; rv = editor->GetRootElement(getter_AddRefs(rootElt)); NS_ENSURE_SUCCESS(rv, rv); + mRootNode = rootElt; - + NS_ASSERTION(mRootNode, "GetRootElement returned null *and* claimed to suceed!"); return NS_OK; }