Bug 1744397 - Simplify refresh code: remove aMetaRefresh argument. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D132861
This commit is contained in:
Peter Van der Beken
2021-12-14 10:13:59 +00:00
parent f3c4acfa27
commit 1523e69a53
7 changed files with 22 additions and 30 deletions

View File

@@ -293,8 +293,7 @@ class nsDocShell final : public nsDocLoader,
// the timer involved out of mRefreshURIList if it's there.
// aTimer must not be null.
nsresult ForceRefreshURIFromTimer(nsIURI* aURI, nsIPrincipal* aPrincipal,
int32_t aDelay, bool aMetaRefresh,
nsITimer* aTimer);
int32_t aDelay, nsITimer* aTimer);
// We need dummy OnLocationChange in some cases to update the UI without
// updating security info.