Bug 1411754 - Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyle

Tag #1375
This commit is contained in:
Matt A. Tobin 2020-04-17 06:41:41 -04:00 committed by Roy Tam
commit efb5979ad5
6 changed files with 14 additions and 13 deletions

View file

@ -1119,7 +1119,7 @@ Element::CreateShadowRoot(ErrorResult& aError)
if (nsIDocument* doc = GetComposedDoc()) {
if (nsIPresShell* shell = doc->GetShell()) {
shell->DestroyFramesFor(this);
shell->DestroyFramesForAndRestyle(this);
MOZ_ASSERT(!shell->FrameManager()->GetDisplayContentsStyleFor(this));
}
}