From 7191d20f10ff6b1009abed241aebe45e7d62d1f2 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Wed, 5 Aug 2015 10:20:57 -0400 Subject: [PATCH] bug 1170049 - check if document tree is correct before cleaning it up r=lsocks --- accessible/ipc/DocAccessibleParent.h | 1 + 1 file changed, 1 insertion(+) diff --git a/accessible/ipc/DocAccessibleParent.h b/accessible/ipc/DocAccessibleParent.h index 095cb9570a2..c983c4af5dc 100644 --- a/accessible/ipc/DocAccessibleParent.h +++ b/accessible/ipc/DocAccessibleParent.h @@ -72,6 +72,7 @@ public: void Destroy(); virtual void ActorDestroy(ActorDestroyReason aWhy) override { + CheckDocTree(); if (!mShutdown) Destroy(); }