Bug 1646563 - Remove BrowserId from nsFrameLoaderOwner, r=nika

We can just use BrowsingContext::BrowserId directly, so it's unnecessary to have
the field on nsFrameLoaderOwner as well.

This also makes it so that we only ever generate browser IDs in
BrowsingContext::CreatedDetached.

Differential Revision: https://phabricator.services.mozilla.com/D80121
This commit is contained in:
Kashav Madan
2020-06-22 21:46:03 +00:00
parent f5d2f495c8
commit 185f0c0d2d
11 changed files with 22 additions and 96 deletions

View File

@@ -208,7 +208,6 @@ void nsGenericHTMLFrameElement::UnbindFromTree(bool aNullParent) {
mFrameLoader = nullptr;
}
nsFrameLoaderOwner::UnbindFromTree();
nsGenericHTMLElement::UnbindFromTree(aNullParent);
}