Bug 1475139 part 8 - Remove unused mContainer from RenderFrameParent. r=mattwoodrow

mContainer is only ever read, and never written to. This commit removes it.

Differential Revision: https://phabricator.services.mozilla.com/D6787

--HG--
extra : rebase_source : b106b1c898dd1d1523e9747b9b2f33d42470f4b6
This commit is contained in:
Ryan Hunt 2018-09-24 21:44:50 -05:00
parent fd979d2851
commit 0548fffa40
2 changed files with 1 additions and 7 deletions

View File

@ -165,13 +165,8 @@ RenderFrameParent::BuildLayer(nsDisplayListBuilder* aBuilder,
{
MOZ_ASSERT(aFrame,
"makes no sense to have a shadow tree without a frame");
MOZ_ASSERT(!mContainer ||
IsTempLayerManager(aManager) ||
mContainer->Manager() == aManager,
"retaining manager changed out from under us ... HELP!");
if (IsTempLayerManager(aManager) ||
(mContainer && mContainer->Manager() != aManager)) {
if (IsTempLayerManager(aManager)) {
// This can happen if aManager is a "temporary" manager, or if the
// widget's layer manager changed out from under us. We need to
// FIXME handle the former case somehow, probably with an API to

View File

@ -113,7 +113,6 @@ private:
CompositorOptions mCompositorOptions;
RefPtr<nsFrameLoader> mFrameLoader;
RefPtr<ContainerLayer> mContainer;
RefPtr<LayerManager> mLayerManager;
// True after Destroy() has been called, which is triggered