mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1547871 - BrowsingContext needs a group to evict from cache. r=neha
Differential Revision: https://phabricator.services.mozilla.com/D29669 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c901619704
commit
5d18af73e6
@ -283,7 +283,7 @@ void BrowsingContext::Detach(bool aFromIPC) {
|
||||
|
||||
RefPtr<BrowsingContext> kungFuDeathGrip(this);
|
||||
|
||||
if (!Group()->EvictCachedContext(this)) {
|
||||
if (Group() && !Group()->EvictCachedContext(this)) {
|
||||
Children* children = nullptr;
|
||||
if (mParent) {
|
||||
children = &mParent->mChildren;
|
||||
|
Loading…
Reference in New Issue
Block a user