mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 409591. Thunderbird: newsgroup/feed messages blank in virtual buffer. Correct the previous checkin for this bug which caused bug 414574. r=surkov, sr=bz, a=blocking1.9
This commit is contained in:
parent
c616286f07
commit
814777833e
@ -697,7 +697,8 @@ nsresult nsDocAccessible::RemoveEventListeners()
|
||||
if (rootAccessible) {
|
||||
nsRefPtr<nsCaretAccessible> caretAccessible = rootAccessible->GetCaretAccessible();
|
||||
if (caretAccessible) {
|
||||
nsCOMPtr<nsIPresShell> presShell(GetPresShell());
|
||||
// Don't use GetPresShell() which can call Shutdown() if it sees dead pres shell
|
||||
nsCOMPtr<nsIPresShell> presShell(do_QueryReferent(mWeakShell));
|
||||
caretAccessible->RemoveDocSelectionListener(presShell);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user