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 /layout/base/nsFrameManager.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 'layout/base/nsFrameManager.cpp')
-rw-r--r-- | layout/base/nsFrameManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/base/nsFrameManager.cpp b/layout/base/nsFrameManager.cpp index ce5c60bbc..be8cd7147 100644 --- a/layout/base/nsFrameManager.cpp +++ b/layout/base/nsFrameManager.cpp @@ -611,7 +611,7 @@ nsFrameManagerBase::UndisplayedMap::GetApplicableParent(nsIContent* aParent) // be a <xbl:children> element) but the parent in the frame tree would be the // insertion parent (parent of the <xbl:children> element). Here the children // elements are normalized to the insertion parent to correct for the mismatch. - if (aParent && nsContentUtils::IsContentInsertionPoint(aParent)) { + if (aParent && aParent->IsActiveChildrenElement()) { return aParent->GetParent(); } |