summaryrefslogtreecommitdiffstats
path: root/dom/base/nsDocument.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-01-18 22:43:29 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-01-18 22:43:29 +0100
commit1f9ab3a6e6e3f1e79b482c0540c98859bbc71350 (patch)
tree41e66c2a35ecb276f6107d9bba0eb62d70b39b46 /dom/base/nsDocument.cpp
parent978f50dda9e6f0ff6c6cb21d4caa273f3260ebc8 (diff)
downloadUXP-1f9ab3a6e6e3f1e79b482c0540c98859bbc71350.tar
UXP-1f9ab3a6e6e3f1e79b482c0540c98859bbc71350.tar.gz
UXP-1f9ab3a6e6e3f1e79b482c0540c98859bbc71350.tar.lz
UXP-1f9ab3a6e6e3f1e79b482c0540c98859bbc71350.tar.xz
UXP-1f9ab3a6e6e3f1e79b482c0540c98859bbc71350.zip
Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS
Diffstat (limited to 'dom/base/nsDocument.cpp')
-rw-r--r--dom/base/nsDocument.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp
index d4d488379..a6ed419df 100644
--- a/dom/base/nsDocument.cpp
+++ b/dom/base/nsDocument.cpp
@@ -1590,10 +1590,6 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INTERNAL(nsDocument)
NS_IMPL_CYCLE_COLLECTION_DESCRIBE(nsDocument, tmp->mRefCnt.get())
}
- // Always need to traverse script objects, so do that before we check
- // if we're uncollectable.
- NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS
-
if (!nsINode::Traverse(tmp, cb)) {
return NS_SUCCESS_INTERRUPTED_TRAVERSE;
}