Bug 1497995 - Make URI a constructor argument of nsDocShellLoadState; r=bzbarsky

We'll always need a URI for DocShellLoadState, and it should only
change is special circumstances. Construct the object with it, and
then follow up in Bug 1515433 for more cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D13490
This commit is contained in:
Kyle Machulis
2018-12-21 20:17:43 +00:00
parent b28d3d6844
commit 8e9467964d
8 changed files with 26 additions and 29 deletions

View File

@@ -27,7 +27,7 @@ class nsDocShellLoadState final {
public:
NS_INLINE_DECL_REFCOUNTING(nsDocShellLoadState);
nsDocShellLoadState();
explicit nsDocShellLoadState(nsIURI* aURI);
// Getters and Setters