зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1556657 - SHistoryParent::RecvFindEntryForBFCache should fill in all its outparams. r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D33607 --HG-- extra : rebase_source : a869e6e0d2e1dfc19431f01eab257ef4ce88fabd extra : source : b82e5b8c6964ab446abafc8be6017f4e15725d26 extra : histedit_source : b9c0a9c7462f0d984ae8d297aa8d51d80dcc02a6
This commit is contained in:
Родитель
686417088e
Коммит
1f1f27cbac
|
@ -194,14 +194,17 @@ bool SHistoryParent::RecvFindEntryForBFCache(const uint64_t& aSharedID,
|
|||
aSharedID) {
|
||||
if (!aIncludeCurrentEntry && i == currentIndex) {
|
||||
*aEntry = (PSHEntryParent*)nullptr;
|
||||
*aIndex = -1;
|
||||
} else {
|
||||
SHEntryParent::GetOrCreate(Manager(), entry, *aEntry);
|
||||
*aIndex = i;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
*aEntry = (PSHEntryParent*)nullptr;
|
||||
*aIndex = -1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче