mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 12:45:27 +00:00
Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv
--HG-- extra : rebase_source : 69b6a49317b33794a904f7b1e8e63a5dea43792b
This commit is contained in:
parent
c5b97c5208
commit
e0d4fbd3b8
@ -694,6 +694,8 @@ nsWSRunObject::AdjustWhitespace()
|
||||
already_AddRefed<nsIDOMNode>
|
||||
nsWSRunObject::GetWSBoundingParent()
|
||||
{
|
||||
if (!mNode)
|
||||
return nsnull;
|
||||
nsCOMPtr<nsIDOMNode> wsBoundingParent = mNode;
|
||||
while (!IsBlockNode(wsBoundingParent))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user