icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -754,7 +754,7 @@ void nsTextControlFrame::OnFocus() {
|
|||
return;
|
||||
}
|
||||
|
||||
mozilla::PresShell* presShell = PresShell();
|
||||
RefPtr<mozilla::PresShell> presShell = PresShell();
|
||||
RefPtr<nsCaret> caret = presShell->GetCaret();
|
||||
if (!caret) {
|
||||
return;
|
||||
|
|
@ -776,6 +776,9 @@ void nsTextControlFrame::OnFocus() {
|
|||
if (!docSel->IsCollapsed()) {
|
||||
docSel->RemoveAllRanges(IgnoreErrors());
|
||||
}
|
||||
if (presShell->IsDestroying()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// If the focus moved to a text control during text selection by pointer
|
||||
// device, stop extending the selection.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue