Bug 1534638 - Part 1: remove unused arguments from session history listeners. r=qdot

Differential Revision: https://phabricator.services.mozilla.com/D25761
This commit is contained in:
Peter Van der Beken
2019-04-04 16:18:48 +00:00
parent bf67a988df
commit cd80fed289
11 changed files with 38 additions and 123 deletions

View File

@@ -4545,8 +4545,7 @@ nsDocShell::Reload(uint32_t aReloadFlags) {
RefPtr<ChildSHistory> rootSH = GetRootSessionHistory();
bool canReload = true;
if (rootSH) {
rootSH->LegacySHistory()->NotifyOnHistoryReload(mCurrentURI, aReloadFlags,
&canReload);
rootSH->LegacySHistory()->NotifyOnHistoryReload(&canReload);
}
if (!canReload) {