Bug 1659102 - Remove aLoadType argument from nsDocShell::OnNewURI. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D91590
This commit is contained in:
Peter Van der Beken
2020-09-29 12:03:52 +00:00
parent da78670bc1
commit c09f68a5da
2 changed files with 16 additions and 15 deletions

View File

@@ -706,6 +706,7 @@ class nsDocShell final : public nsDocLoader,
nsresult ScrollToAnchor(bool aCurHasRef, bool aNewHasRef,
nsACString& aNewHash, uint32_t aLoadType);
private:
// Returns true if would have called FireOnLocationChange,
// but did not because aFireOnLocationChange was false on entry.
// In this case it is the caller's responsibility to ensure
@@ -724,10 +725,10 @@ class nsDocShell final : public nsDocLoader,
nsIPrincipal* aTriggeringPrincipal,
nsIPrincipal* aPrincipalToInherit,
nsIPrincipal* aPartitionedPrincipalToInehrit,
uint32_t aLoadType, nsIContentSecurityPolicy* aCsp,
bool aFireOnLocationChange, bool aAddToGlobalHistory,
bool aCloneSHChildren);
nsIContentSecurityPolicy* aCsp, bool aFireOnLocationChange,
bool aAddToGlobalHistory, bool aCloneSHChildren);
public:
// Helper method that is called when a new document (including any
// sub-documents - ie. frames) has been completely loaded.
MOZ_CAN_RUN_SCRIPT_BOUNDARY