Bug 1534638 - Part 3: rename SetRootDocShell to ClearDocShell. r=qdot

Depends on D25763

Differential Revision: https://phabricator.services.mozilla.com/D25764
This commit is contained in:
Peter Van der Beken
2019-04-04 16:20:19 +00:00
parent dbfd4c9370
commit a7d8307b79
5 changed files with 35 additions and 41 deletions

View File

@@ -429,7 +429,7 @@ nsDocShell::~nsDocShell() {
Destroy();
if (mSessionHistory) {
mSessionHistory->LegacySHistory()->SetRootDocShell(nullptr);
mSessionHistory->LegacySHistory()->ClearRootDocShell();
}
if (--gDocShellCount == 0) {