mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 931911 - crash in mozilla::a11y::SelectionManager::ProcessSelectionChanged(nsISelection*), r=tbsaunde
This commit is contained in:
parent
bfedaf9174
commit
ced762ed5c
@ -169,6 +169,9 @@ void
|
||||
SelectionManager::ProcessSelectionChanged(nsISelection* aSelection)
|
||||
{
|
||||
Selection* selection = static_cast<Selection*>(aSelection);
|
||||
if (!selection->GetPresShell())
|
||||
return;
|
||||
|
||||
const nsRange* range = selection->GetAnchorFocusRange();
|
||||
nsINode* cntrNode = nullptr;
|
||||
if (range)
|
||||
|
Loading…
Reference in New Issue
Block a user