Nicholas Nethercote
1009bf0056
Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
...
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.
The patch also does some associated clean-up.
- Replaces some uses of nsIMemoryReporterCallback with the preferred
nsIHandleReportCallback typedef.
- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
parameter names, for consistency.
- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.
- Uses the MOZ_COLLECT_REPORT macro in all suitable places.
Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
2016-08-24 15:23:45 +10:00
..
2016-07-14 10:16:42 -06:00
2016-08-08 12:18:10 +10:00
2015-12-04 15:52:43 +01:00
2015-07-13 08:25:42 -07:00
2015-05-19 10:47:33 -07:00
2015-07-13 08:25:42 -07:00
2016-07-14 10:16:42 -06:00
2015-05-19 10:47:29 -07:00
2016-06-29 17:33:15 +02:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2016-06-29 17:33:15 +02:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:29 -07:00
2015-05-19 10:47:33 -07:00
2015-05-19 10:47:33 -07:00
2016-08-08 10:54:47 +10:00
2015-10-18 01:24:48 -04:00
2016-08-08 12:18:10 +10:00
2015-10-18 01:24:48 -04:00
2015-10-18 01:24:48 -04:00
2015-05-19 10:47:33 -07:00
2015-05-01 14:03:17 -05:00
2015-05-19 10:47:33 -07:00
2016-01-12 18:16:59 +00:00
2015-10-29 16:04:41 -07:00
2015-05-19 10:47:33 -07:00
2016-01-05 17:08:45 -08:00
2016-08-24 14:47:04 +08:00
2016-08-08 12:18:10 +10:00
2015-05-19 10:47:33 -07:00
2015-07-13 08:25:42 -07:00
2015-05-19 10:47:29 -07:00
2016-08-08 12:18:10 +10:00
2016-02-17 11:57:59 +08:00
2015-05-19 10:47:33 -07:00
2015-05-19 10:47:33 -07:00
2015-05-19 10:47:33 -07:00
2016-01-12 18:16:59 +00:00
2016-08-24 15:23:45 +10:00
2015-10-18 01:24:48 -04:00
2016-02-02 17:36:30 +02:00
2015-05-19 10:47:33 -07:00
2016-08-08 10:54:47 +10:00
2015-10-18 01:24:48 -04:00
2016-02-10 08:23:00 +01:00
2015-10-18 01:24:48 -04:00
2015-05-19 10:47:33 -07:00
2016-01-12 18:16:59 +00:00
2015-05-19 10:47:33 -07:00
2015-07-18 21:45:35 +02:00
2015-05-19 10:47:33 -07:00
2015-07-13 08:25:42 -07:00
2015-05-19 10:47:33 -07:00
2016-02-01 10:49:34 -05:00
2016-01-24 18:09:12 -08:00
2015-05-19 10:47:29 -07:00
2016-08-08 12:18:10 +10:00
2015-10-18 01:24:48 -04:00
2016-06-07 22:08:41 -07:00
2016-06-07 22:08:41 -07:00
2015-05-19 10:47:33 -07:00
2015-05-19 10:47:33 -07:00
2015-05-28 11:07:43 -07:00
2016-06-07 22:08:41 -07:00