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
parent 1846dde168
commit efb5979ad5
6 changed files with 14 additions and 13 deletions
+2 -3
View File
@@ -265,8 +265,7 @@ ShadowRoot::DistributionChanged()
return;
}
// FIXME(emilio): Rename this to DestroyFramesForAndRestyle?
shell->DestroyFramesFor(host);
shell->DestroyFramesForAndRestyle(host);
}
const HTMLContentElement*
@@ -513,7 +512,7 @@ ShadowRoot::AttributeChanged(nsIDocument* aDocument,
return;
}
shell->DestroyFramesFor(aElement);
shell->DestroyFramesForAndRestyle(aElement);
}
bool