Bug 1125632 followup: Mark remaining CollectReports impls in nsMemoryReporterManager.cpp and SystemMemoryReporter.cpp as MOZ_OVERRIDE.

This commit is contained in:
Daniel Holbert 2015-01-27 09:48:54 -08:00
parent 13e4b763d8
commit 7dec9ee7ed
2 changed files with 4 additions and 4 deletions

View File

@ -159,7 +159,7 @@ public:
REPORT_WITH_CLEANUP(_path, UNITS_BYTES, _amount, _desc, (void)0)
NS_IMETHOD CollectReports(nsIHandleReportCallback* aHandleReport,
nsISupports* aData, bool aAnonymize)
nsISupports* aData, bool aAnonymize) MOZ_OVERRIDE
{
// There is lots of privacy-sensitive data in /proc. Just skip this
// reporter entirely when anonymization is required.

View File

@ -555,7 +555,7 @@ public:
NS_DECL_ISUPPORTS
NS_METHOD CollectReports(nsIHandleReportCallback* aHandleReport,
nsISupports* aData, bool aAnonymize)
nsISupports* aData, bool aAnonymize) MOZ_OVERRIDE
{
int64_t amount;
nsresult rv = VsizeMaxContiguousDistinguishedAmount(&amount);
@ -578,7 +578,7 @@ public:
NS_DECL_ISUPPORTS
NS_METHOD CollectReports(nsIHandleReportCallback* aHandleReport,
nsISupports* aData, bool aAnonymize)
nsISupports* aData, bool aAnonymize) MOZ_OVERRIDE
{
int64_t amount;
nsresult rv = PrivateDistinguishedAmount(&amount);
@ -922,7 +922,7 @@ public:
NS_DECL_ISUPPORTS
NS_IMETHOD CollectReports(nsIHandleReportCallback* aHandleReport,
nsISupports* aData, bool aAnonymize)
nsISupports* aData, bool aAnonymize) MOZ_OVERRIDE
{
dmd::Sizes sizes;
dmd::SizeOf(&sizes);