Bug 1235803 - Remove erroneous assertion draft
authorKearwood (Kip) Gilbert <kgilbert@mozilla.com>
Wed, 30 Dec 2015 14:46:38 -0800
changeset 318075 b4a5e77f0d562a2d8bf6bab7d9627d02e944d89a
parent 318042 c690c50b2b543b420803e8192d6e08e06b20e0a3
child 512420 b7001e00f96944fdd8e056d20c45023b93134cc1
push id8831
push userkgilbert@mozilla.com
push dateWed, 30 Dec 2015 22:49:04 +0000
bugs1235803
milestone46.0a1
Bug 1235803 - Remove erroneous assertion - Removed an unnecessary assertion that was erroneously triggering on shutdown in B2G Mochitests.
gfx/vr/ipc/VRManagerParent.cpp
--- a/gfx/vr/ipc/VRManagerParent.cpp
+++ b/gfx/vr/ipc/VRManagerParent.cpp
@@ -101,17 +101,16 @@ VRManagerParent::CreateSameProcess()
   loop->PostTask(FROM_HERE,
                  NewRunnableFunction(RegisterVRManagerInCompositorThread, vmp.get()));
   return vmp.get();
 }
 
 void
 VRManagerParent::DeferredDestroy()
 {
-  MOZ_ASSERT(mCompositorThreadHolder);
   mCompositorThreadHolder = nullptr;
   mSelfRef = nullptr;
 }
 
 void
 VRManagerParent::ActorDestroy(ActorDestroyReason why)
 {
   UnregisterFromManager();