Bug 1125632: Annotate ResidentUniqueReporter::CollectReports as MOZ_OVERRIDE. r=njn
authorDaniel Holbert <dholbert@cs.stanford.edu>
Sun, 25 Jan 2015 15:14:00 -0800
changeset 225631 6ff2bc5f6f0ca530b200fa39ea9806aab504065a
parent 225630 7f7f003696ad7bccde5ebcaf4cc122cc60e887f4
child 225632 205717a8d35e992579a9920138330a28717fae7d
push id10990
push usercbook@mozilla.com
push dateMon, 26 Jan 2015 14:06:38 +0000
treeherderfx-team@54be9bcdacd9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnjn
bugs1125632
milestone38.0a1
Bug 1125632: Annotate ResidentUniqueReporter::CollectReports as MOZ_OVERRIDE. r=njn
xpcom/base/nsMemoryReporterManager.cpp
--- a/xpcom/base/nsMemoryReporterManager.cpp
+++ b/xpcom/base/nsMemoryReporterManager.cpp
@@ -151,17 +151,17 @@ ResidentUniqueDistinguishedAmount(int64_
 class ResidentUniqueReporter MOZ_FINAL : public nsIMemoryReporter
 {
   ~ResidentUniqueReporter() {}
 
 public:
   NS_DECL_ISUPPORTS
 
   NS_METHOD CollectReports(nsIHandleReportCallback* aHandleReport,
-                           nsISupports* aData, bool aAnonymize)
+                           nsISupports* aData, bool aAnonymize) MOZ_OVERRIDE
   {
     int64_t amount = 0;
     nsresult rv = ResidentUniqueDistinguishedAmount(&amount);
     NS_ENSURE_SUCCESS(rv, rv);
 
     return MOZ_COLLECT_REPORT(
       "resident-unique", KIND_OTHER, UNITS_BYTES, amount,
 "Memory mapped by the process that is present in physical memory and not "