Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv
This commit is contained in:
@@ -694,6 +694,8 @@ nsWSRunObject::AdjustWhitespace()
|
||||
already_AddRefed<nsIDOMNode>
|
||||
nsWSRunObject::GetWSBoundingParent()
|
||||
{
|
||||
if (!mNode)
|
||||
return nsnull;
|
||||
nsCOMPtr<nsIDOMNode> wsBoundingParent = mNode;
|
||||
while (!IsBlockNode(wsBoundingParent))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user