Bug 1426536 - Remove nsContentUtils::IsContentInsertionPoint

Tag #1375
This commit is contained in:
Matt A. Tobin 2020-04-17 07:36:25 -04:00 committed by Roy Tam
commit d9112daf48
7 changed files with 27 additions and 116 deletions

View file

@ -7017,19 +7017,6 @@ nsContentUtils::GetHTMLEditor(nsPresContext* aPresContext)
return editor;
}
bool
nsContentUtils::IsContentInsertionPoint(nsIContent* aContent)
{
// Check if the content is a XBL insertion point.
if (aContent->IsActiveChildrenElement()) {
return true;
}
// Check if the content is a web components content insertion point.
// XXX handle <slot>?
return false;
}
// static
bool
nsContentUtils::HasDistributedChildren(nsIContent* aContent)