mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
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:
parent
fd979d2851
commit
0548fffa40
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user