summaryrefslogtreecommitdiffstats
path: root/layout/base/nsCSSFrameConstructor.cpp
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 07:36:25 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 07:36:25 -0400
commitb93fb57514781ea406fb152cf46b502cffd272ff (patch)
tree7f7c7bd37fc6274e9cdacf8fe2a7ff2f32d64ac0 /layout/base/nsCSSFrameConstructor.cpp
parent3508e79b1fe7fc928eed2f3c7bf2d628c53fbf17 (diff)
downloadUXP-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 'layout/base/nsCSSFrameConstructor.cpp')
-rw-r--r--layout/base/nsCSSFrameConstructor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp
index c7312dafb..fc458b5eb 100644
--- a/layout/base/nsCSSFrameConstructor.cpp
+++ b/layout/base/nsCSSFrameConstructor.cpp
@@ -3821,7 +3821,7 @@ nsCSSFrameConstructor::ConstructFrameFromItemInternal(FrameConstructionItem& aIt
// AutoDisplayContentsAncestorPusher above.)
TreeMatchContext::AutoAncestorPusher
insertionPointPusher(aState.mTreeMatchContext);
- if (adcp.IsEmpty() && parent && nsContentUtils::IsContentInsertionPoint(parent)) {
+ if (adcp.IsEmpty() && parent && parent->IsActiveChildrenElement()) {
if (aState.mTreeMatchContext.mAncestorFilter.HasFilter()) {
insertionPointPusher.PushAncestorAndStyleScope(parent);
} else {