Bug 1038148 - Give LowEventsReporter a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 14 Jul 2014 21:47:01 -0400
changeset 193966 d4625d8a9c9a56a9129a02cfaa5e6c47513ab0d3
parent 193965 6b9c96d0f03df82d4ffad9af8d531c667dc1f52a
child 193967 c9c1acd7c1c3bb82a76a945621cf8d51078d7752
push id27136
push usercbook@mozilla.com
push dateTue, 15 Jul 2014 12:59:16 +0000
treeherdermozilla-central@d2d56f9066bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs1038148
milestone33.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 1038148 - Give LowEventsReporter a private destructor; r=bjacob
xpcom/base/AvailableMemoryTracker.cpp
--- a/xpcom/base/AvailableMemoryTracker.cpp
+++ b/xpcom/base/AvailableMemoryTracker.cpp
@@ -335,16 +335,18 @@ LowMemoryEventsVirtualDistinguishedAmoun
 static int64_t
 LowMemoryEventsPhysicalDistinguishedAmount()
 {
   return sNumLowPhysicalMemEvents;
 }
 
 class LowEventsReporter MOZ_FINAL : public nsIMemoryReporter
 {
+  ~LowEventsReporter() {}
+
 public:
   NS_DECL_ISUPPORTS
 
   NS_IMETHOD CollectReports(nsIHandleReportCallback* aHandleReport,
                             nsISupports* aData, bool aAnonymize)
   {
     nsresult rv;