зеркало из https://github.com/mozilla/pjs.git
fix for blocker bug #19083, compose html message causes a crash.
r=sfraser.
This commit is contained in:
Родитель
6130ec762c
Коммит
7e2104aebd
|
@ -2010,6 +2010,9 @@ nsHTMLEditRules::IsFirstNode(nsIDOMNode *aNode)
|
|||
// ok, so there are earlier children. But are they editable???
|
||||
nsCOMPtr<nsIDOMNodeList>childList;
|
||||
nsCOMPtr<nsIDOMNode> child;
|
||||
|
||||
if (!parent) return PR_TRUE;
|
||||
|
||||
parent->GetChildNodes(getter_AddRefs(childList));
|
||||
while (j < offset)
|
||||
{
|
||||
|
|
|
@ -2010,6 +2010,9 @@ nsHTMLEditRules::IsFirstNode(nsIDOMNode *aNode)
|
|||
// ok, so there are earlier children. But are they editable???
|
||||
nsCOMPtr<nsIDOMNodeList>childList;
|
||||
nsCOMPtr<nsIDOMNode> child;
|
||||
|
||||
if (!parent) return PR_TRUE;
|
||||
|
||||
parent->GetChildNodes(getter_AddRefs(childList));
|
||||
while (j < offset)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче