bug 1170049 - check if document tree is correct before cleaning it up r=lsocks
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Wed, 05 Aug 2015 10:20:57 -0400
changeset 287974 712501bf9b886066f5f8c2ce6ff3e7b3c5ad3000
parent 287973 d52990c9dea8ca4f85249e2fc9baa900218146e9
child 287975 7323c5f4a3526ee83a28708911d964a4a6f4fb25
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsocks
bugs1170049
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1170049 - check if document tree is correct before cleaning it up r=lsocks
accessible/ipc/DocAccessibleParent.h
--- a/accessible/ipc/DocAccessibleParent.h
+++ b/accessible/ipc/DocAccessibleParent.h
@@ -67,16 +67,17 @@ public:
     ParentDoc()->mChildDocs.RemoveElement(this);
     mParentDoc = nullptr;
   }
 
   virtual bool RecvShutdown() override;
   void Destroy();
   virtual void ActorDestroy(ActorDestroyReason aWhy) override
   {
+    CheckDocTree();
     if (!mShutdown)
       Destroy();
   }
 
   /*
    * Return the main processes representation of the parent document (if any)
    * of the document this object represents.
    */