summaryrefslogtreecommitdiffstats
path: root/dom/base/nsWrapperCache.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-03 08:34:08 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-03 08:34:08 +0100
commit9a8a050294414a7d248a4ec872744b43e1b9bfb1 (patch)
tree15da5ed8e56d99d3061cba56b9c253895af1849b /dom/base/nsWrapperCache.cpp
parentfa311a4cae5ea526e848adc4f49c6aa0b700702c (diff)
parente4a3b28c805e9419a076e1cdbe54056cfdcd3b41 (diff)
downloadUXP-9a8a050294414a7d248a4ec872744b43e1b9bfb1.tar
UXP-9a8a050294414a7d248a4ec872744b43e1b9bfb1.tar.gz
UXP-9a8a050294414a7d248a4ec872744b43e1b9bfb1.tar.lz
UXP-9a8a050294414a7d248a4ec872744b43e1b9bfb1.tar.xz
UXP-9a8a050294414a7d248a4ec872744b43e1b9bfb1.zip
Merge branch 'cycle_collector-work'
Diffstat (limited to 'dom/base/nsWrapperCache.cpp')
-rw-r--r--dom/base/nsWrapperCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/nsWrapperCache.cpp b/dom/base/nsWrapperCache.cpp
index b91d86598..c5993fe7b 100644
--- a/dom/base/nsWrapperCache.cpp
+++ b/dom/base/nsWrapperCache.cpp
@@ -133,7 +133,7 @@ nsWrapperCache::CheckCCWrapperTraversal(void* aScriptObjectHolder,
// see through the COM layer, so we use a suppression to help it.
JS::AutoSuppressGCAnalysis suppress;
- aTracer->Traverse(aScriptObjectHolder, callback);
+ aTracer->TraverseNativeAndJS(aScriptObjectHolder, callback);
MOZ_ASSERT(callback.mFound,
"Cycle collection participant didn't traverse to preserved "
"wrapper! This will probably crash.");