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 486647 2ceb7952766db7caf602bc5f09427bb973cd1017
parent 486646 b712d41d474554d13447594ebc0ce8b2cccd0f47
child 486648 d4a387207b7ae2cb4a431c62ff78a526e12c2ee2
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [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