mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1168881 - Enabling AccessibleCarets crashes Firefox when trying to input text, r=tylin
This commit is contained in:
parent
950d3dea12
commit
50610030b0
@ -2559,7 +2559,8 @@ PresShell::CheckVisibilityContent(nsIContent* aNode, int16_t aStartOffset,
|
|||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
PresShell::GetSelectionCaretsVisibility(bool* aOutVisibility)
|
PresShell::GetSelectionCaretsVisibility(bool* aOutVisibility)
|
||||||
{
|
{
|
||||||
*aOutVisibility = (SelectionCaretPrefEnabled() && mSelectionCarets->GetVisibility());
|
*aOutVisibility = (SelectionCaretPrefEnabled() &&
|
||||||
|
mSelectionCarets && mSelectionCarets->GetVisibility());
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user