Bug 1472491: Follow-up: Add missing CC trace for document observer hashtable. r=me
authorKris Maglione <maglione.k@gmail.com>
Tue, 14 Aug 2018 12:05:11 -0700
changeset 431549 2ceb7952766db7caf602bc5f09427bb973cd1017
parent 431548 b712d41d474554d13447594ebc0ce8b2cccd0f47
child 431550 d4a387207b7ae2cb4a431c62ff78a526e12c2ee2
push id34443
push usercsabou@mozilla.com
push dateWed, 15 Aug 2018 00:53:32 +0000
treeherdermozilla-central@b80906e2fbc9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1472491
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1472491: Follow-up: Add missing CC trace for document observer hashtable. r=me
toolkit/components/extensions/ExtensionPolicyService.cpp
--- a/toolkit/components/extensions/ExtensionPolicyService.cpp
+++ b/toolkit/components/extensions/ExtensionPolicyService.cpp
@@ -492,17 +492,18 @@ ExtensionPolicyService::ExtensionURIToAd
     policy->GetId(aResult);
   } else {
     aResult.SetIsVoid(true);
   }
   return NS_OK;
 }
 
 
-NS_IMPL_CYCLE_COLLECTION(ExtensionPolicyService, mExtensions, mExtensionHosts)
+NS_IMPL_CYCLE_COLLECTION(ExtensionPolicyService, mExtensions, mExtensionHosts,
+                         mObservers)
 
 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(ExtensionPolicyService)
   NS_INTERFACE_MAP_ENTRY(nsIAddonPolicyService)
   NS_INTERFACE_MAP_ENTRY(nsIObserver)
   NS_INTERFACE_MAP_ENTRY(nsIMemoryReporter)
   NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIAddonPolicyService)
 NS_INTERFACE_MAP_END