mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 07:26:26 +00:00
Revert one (mismatched) line within patch to bug 300864 to fix massive leak. b=330624 r=aaronl sr=bryner
This commit is contained in:
parent
9af2623023
commit
04873704c4
@ -571,7 +571,7 @@ NS_IMETHODIMP nsRootAccessible::HandleEvent(nsIDOMEvent* aEvent)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (eventType.LowerCaseEqualsLiteral("unload")) {
|
||||
if (eventType.LowerCaseEqualsLiteral("pagehide")) {
|
||||
// Only get cached accessible for pagehide -- so that we don't create it
|
||||
// just to destroy it.
|
||||
nsCOMPtr<nsIWeakReference> weakShell(do_GetWeakReference(eventShell));
|
||||
|
Loading…
x
Reference in New Issue
Block a user