Bug 1365927 - Part 6. Remove CompositorThreadHolder reference from CompositorBridgeParent. r=dvander

This commit is contained in:
Andrew Osmond 2017-06-14 11:40:00 -04:00
parent cafe9dcd45
commit 9e4c9d88a1
4 changed files with 0 additions and 6 deletions

View File

@ -336,7 +336,6 @@ CompositorBridgeParent::CompositorBridgeParent(CompositorManagerParent* aManager
, mRootLayerTreeID(0)
, mOverrideComposeReadiness(false)
, mForceCompositionTask(nullptr)
, mCompositorThreadHolder(CompositorThreadHolder::GetSingleton())
, mCompositorScheduler(nullptr)
, mAnimationStorage(nullptr)
, mPaintTime(TimeDuration::Forever())
@ -494,8 +493,6 @@ CompositorBridgeParent::RecvWillClose()
void CompositorBridgeParent::DeferredDestroy()
{
MOZ_ASSERT(!NS_IsMainThread());
MOZ_ASSERT(mCompositorThreadHolder);
mCompositorThreadHolder = nullptr;
mSelfRef = nullptr;
}

View File

@ -598,7 +598,6 @@ protected:
RefPtr<APZCTreeManager> mApzcTreeManager;
RefPtr<CompositorThreadHolder> mCompositorThreadHolder;
RefPtr<CompositorVsyncScheduler> mCompositorScheduler;
// This makes sure the compositorParent is not destroyed before receiving
// confirmation that the channel is closed.

View File

@ -480,7 +480,6 @@ CrossProcessCompositorBridgeParent::GetCompositionManager(LayerTransactionParent
void
CrossProcessCompositorBridgeParent::DeferredDestroy()
{
mCompositorThreadHolder = nullptr;
mSelfRef = nullptr;
}

View File

@ -162,7 +162,6 @@ private:
// ourself. This is released (deferred) in ActorDestroy().
RefPtr<CrossProcessCompositorBridgeParent> mSelfRef;
RefPtr<CompositorThreadHolder> mCompositorThreadHolder;
// If true, we should send a RemotePaintIsReady message when the layer transaction
// is received
bool mNotifyAfterRemotePaint;