diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 07:36:25 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 07:36:25 -0400 |
commit | b93fb57514781ea406fb152cf46b502cffd272ff (patch) | |
tree | 7f7c7bd37fc6274e9cdacf8fe2a7ff2f32d64ac0 /dom/base/nsContentUtils.cpp | |
parent | 3508e79b1fe7fc928eed2f3c7bf2d628c53fbf17 (diff) | |
download | UXP-b93fb57514781ea406fb152cf46b502cffd272ff.tar UXP-b93fb57514781ea406fb152cf46b502cffd272ff.tar.gz UXP-b93fb57514781ea406fb152cf46b502cffd272ff.tar.lz UXP-b93fb57514781ea406fb152cf46b502cffd272ff.tar.xz UXP-b93fb57514781ea406fb152cf46b502cffd272ff.zip |
Bug 1426536 - Remove nsContentUtils::IsContentInsertionPoint
Tag #1375
Diffstat (limited to 'dom/base/nsContentUtils.cpp')
-rw-r--r-- | dom/base/nsContentUtils.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp index fa34063df..d28b34f3d 100644 --- a/dom/base/nsContentUtils.cpp +++ b/dom/base/nsContentUtils.cpp @@ -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) |