summaryrefslogtreecommitdiffstats
path: root/layout/base/RestyleManager.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/RestyleManager.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/RestyleManager.cpp')
-rw-r--r--layout/base/RestyleManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/base/RestyleManager.cpp b/layout/base/RestyleManager.cpp
index 6520fe1f6..5c599e1ef 100644
--- a/layout/base/RestyleManager.cpp
+++ b/layout/base/RestyleManager.cpp
@@ -3489,7 +3489,7 @@ ElementRestyler::RestyleUndisplayedNodes(nsRestyleHint aChildRestyleHint,
// not have a frame and would not otherwise be pushed as an ancestor.
nsIContent* parent = undisplayed->mContent->GetParent();
TreeMatchContext::AutoAncestorPusher insertionPointPusher(mTreeMatchContext);
- if (parent && nsContentUtils::IsContentInsertionPoint(parent)) {
+ if (parent && parent->IsActiveChildrenElement()) {
insertionPointPusher.PushAncestorAndStyleScope(parent);
}
@@ -3715,7 +3715,7 @@ ElementRestyler::RestyleContentChildren(nsIFrame* aParent,
// nsPageFrame that does not have a content.
nsIContent* parent = child->GetContent() ? child->GetContent()->GetParent() : nullptr;
TreeMatchContext::AutoAncestorPusher insertionPointPusher(mTreeMatchContext);
- if (parent && nsContentUtils::IsContentInsertionPoint(parent)) {
+ if (parent && parent->IsActiveChildrenElement()) {
insertionPointPusher.PushAncestorAndStyleScope(parent);
}