mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 489270 - Crash [@ GetPreviousWSNode], r+sr=peterv
--HG-- extra : rebase_source : d219264be4d548ce6063c9fbd95897188219731f
This commit is contained in:
parent
1ff97425c2
commit
6fa0681aee
@ -1262,7 +1262,7 @@ nsWSRunObject::GetPreviousWSNode(nsIDOMNode *aStartNode,
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIContent> startContent( do_QueryInterface(aStartNode) );
|
||||
|
||||
NS_ENSURE_STATE(startContent);
|
||||
nsIContent *priorContent = startContent->GetChildAt(aOffset - 1);
|
||||
if (!priorContent)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
Loading…
Reference in New Issue
Block a user