diff options
author | Basilisk-Dev <basiliskdev@protonmail.com> | 2022-10-20 18:22:30 -0400 |
---|---|---|
committer | Basilisk-Dev <basiliskdev@protonmail.com> | 2022-10-20 18:22:30 -0400 |
commit | ea0a08fcab4f4440778432adf8db8d70d78045c3 (patch) | |
tree | 2ac9ffc81a49c00b4b32082cce36cb47c4242af9 /dom | |
parent | ebd7672d6ba8617c99f80f026b1415a6aafe00a5 (diff) | |
download | uxp-ea0a08fcab4f4440778432adf8db8d70d78045c3.tar.gz |
Issue #1375 - Don't mark nodes in the shadow tree as orphan nodes
Port of Bug 1026714
Diffstat (limited to 'dom')
-rw-r--r-- | dom/base/FragmentOrElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/FragmentOrElement.cpp b/dom/base/FragmentOrElement.cpp index 69122a2f44..8cd4bafa70 100644 --- a/dom/base/FragmentOrElement.cpp +++ b/dom/base/FragmentOrElement.cpp @@ -1917,7 +1917,7 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INTERNAL(FragmentOrElement) } nsAutoCString orphan; - if (!tmp->IsInUncomposedDoc() && + if (!tmp->IsInComposedDoc() && // Ignore xbl:content, which is never in the document and hence always // appears to be orphaned. !tmp->NodeInfo()->Equals(nsGkAtoms::content, kNameSpaceID_XBL)) { |