diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-18 20:41:42 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-18 21:09:15 +0100 |
commit | 978f50dda9e6f0ff6c6cb21d4caa273f3260ebc8 (patch) | |
tree | 3c0e810046d5038865d329e4f7375dae8475ab2a /dom/base/nsWrapperCache.cpp | |
parent | 082c0d21856a87abd50e9eead87ec2dbd75b8df3 (diff) | |
download | UXP-978f50dda9e6f0ff6c6cb21d4caa273f3260ebc8.tar UXP-978f50dda9e6f0ff6c6cb21d4caa273f3260ebc8.tar.gz UXP-978f50dda9e6f0ff6c6cb21d4caa273f3260ebc8.tar.lz UXP-978f50dda9e6f0ff6c6cb21d4caa273f3260ebc8.tar.xz UXP-978f50dda9e6f0ff6c6cb21d4caa273f3260ebc8.zip |
Consolidate tracing and traversing.
Diffstat (limited to 'dom/base/nsWrapperCache.cpp')
-rw-r--r-- | dom/base/nsWrapperCache.cpp | 2 |
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."); |