Bug 1865891 p7. Rename EvictLocalContentViewers to match nsIDocumentViewer's new name. r=emilio

Depends on D194279

Differential Revision: https://phabricator.services.mozilla.com/D194280
This commit is contained in:
Jonathan Watt
2023-11-22 08:08:14 +00:00
parent 3d70eaafa6
commit e16576f98e
4 changed files with 5 additions and 5 deletions

View File

@@ -4543,7 +4543,7 @@ nsDocShell::Destroy() {
// We want to destroy these content viewers now rather than
// letting their destruction wait for the session history
// entries to get garbage collected. (Bug 488394)
GetSessionHistory()->EvictLocalContentViewers();
GetSessionHistory()->EvictLocalDocumentViewers();
}
if (mWillChangeProcess && !mBrowsingContext->IsDiscarded()) {