forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1579213 - Remove unused fields from ChangeRemoteness API, r=farre
This patch changes a few things about how nsFrameLoader is created, specifically around the ChangeRemoteness API. 1. The private 'nsFrameLoader::nsFrameLoader' constructor has been simplified to only have one overload, shared by the different `::Create` static methods. 2. The creation static method used by `ChangeRemoteness` has changed name to `::Recreate`, as the signature is becoming more like the old method. 3. The `mNetworkCreated` bit is preserved when doing a `ChangeRemoteness`, as a remoteness change shouldn't be affecting that property. 4. Unused fields are removed from the ChangeRemoteness API. 5. The `remoteType` attribute is now mandatory in the ChangeRemoteness API, which simplifies the logic and makes it harder to accidentally misuse. Differential Revision: https://phabricator.services.mozilla.com/D44893 --HG-- extra : moz-landing-system : lando
- Loading branch information
Showing
7 changed files
with
100 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters