Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv

--HG--
extra : rebase_source : 69b6a49317b33794a904f7b1e8e63a5dea43792b
This commit is contained in:
Ehsan Akhgari 2010-01-15 12:17:48 -05:00
Родитель c5b97c5208
Коммит e0d4fbd3b8
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -694,6 +694,8 @@ nsWSRunObject::AdjustWhitespace()
already_AddRefed<nsIDOMNode>
nsWSRunObject::GetWSBoundingParent()
{
if (!mNode)
return nsnull;
nsCOMPtr<nsIDOMNode> wsBoundingParent = mNode;
while (!IsBlockNode(wsBoundingParent))
{