Bug 1113121 followup - fix assertion r=me

This commit is contained in:
Benjamin Peterson 2015-01-12 23:48:15 -05:00
parent e597ad29ec
commit 8b8175fed3

View File

@ -7398,7 +7398,7 @@ nsHTMLEditRules::JoinNodesSmart(nsIContent& aNodeLeft, nsIContent& aNodeRight)
{
// Caller responsible for left and right node being the same type
nsCOMPtr<nsINode> parent = aNodeLeft.GetParentNode();
NS_ENSURE_STATE(parent);
NS_ENSURE_TRUE(parent, ::DOMPoint());
int32_t parOffset = parent->IndexOf(&aNodeLeft);
nsCOMPtr<nsINode> rightParent = aNodeRight.GetParentNode();