gecko-dev/xpcom/components
Nicholas Nethercote 736c7b1407 Bug 1291970 (part 2) - Tweak nsCategoryManager memory reporter handling. r=erahm.
This patch adds an assertion that makes sure that the nsCategoryManager is
destroyed after the nsMemoryReporterManager, because bad things would happen
otherwise.

Also, nsCategoryManager uses manual memory management (it's AddRef/Release are
hardwired to always return 2 and 1 respectively) so it doesn't matter if we
register it as a strong or weak memory reporter. But it's more common to use
RegisterWeakMemoryReporter when the argument is |this|, so this patch does
that.

--HG--
extra : rebase_source : 4ca33404d4c6f2b271e1ad008ea1a9a79f3ef666
2016-08-11 09:29:44 +10:00
..
ManifestParser.cpp Bug 1284674 - Remove NUWA r=cyu 2016-08-02 14:54:00 +02:00
ManifestParser.h Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj 2016-02-26 18:10:56 -08:00
Module.h Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-08-01 07:09:05 -07:00
ModuleLoader.h
ModuleUtils.h Bug 1273190, part 1 - Fix indentation and mode lines for various xpcom/ files. r=froydnj 2016-05-24 14:45:44 -07:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsCategoryManager.cpp Bug 1291970 (part 2) - Tweak nsCategoryManager memory reporter handling. r=erahm. 2016-08-11 09:29:44 +10:00
nsCategoryManager.h
nsCategoryManagerUtils.h Bug 1252650 - Add data parameter to NS_CreateServicesFromCategory; r=froydnj 2016-04-20 15:06:13 -04:00
nsComponentManager.cpp Bug 1284674 - Remove NUWA r=cyu 2016-08-02 14:54:00 +02:00
nsComponentManager.h Bug 1284674 - Remove NUWA r=cyu 2016-08-02 14:54:00 +02:00
nsICategoryManager.idl
nsIClassInfo.idl
nsIComponentManager.idl
nsIComponentRegistrar.idl
nsIFactory.idl
nsIModule.idl
nsIServiceManager.idl
nsNativeModuleLoader.cpp Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
nsNativeModuleLoader.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00