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

@ -125,7 +125,7 @@ public:
// since if the binding fetch fails then we don't want to destroy the
// frames.
if (nsIPresShell* shell = doc->GetShell()) {
shell->DestroyFramesFor(mBoundElement->AsElement());
shell->DestroyFramesForAndRestyle(mBoundElement->AsElement());
}
MOZ_ASSERT(!mBoundElement->GetPrimaryFrame());
}