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:
@@ -27,7 +27,7 @@ class nsDocShellLoadState final {
|
||||
public:
|
||||
NS_INLINE_DECL_REFCOUNTING(nsDocShellLoadState);
|
||||
|
||||
nsDocShellLoadState();
|
||||
explicit nsDocShellLoadState(nsIURI* aURI);
|
||||
|
||||
// Getters and Setters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user