diff --git a/xpcom/base/nsMemoryReporterManager.cpp b/xpcom/base/nsMemoryReporterManager.cpp index 16341e973fc..a78897fa2fc 100644 --- a/xpcom/base/nsMemoryReporterManager.cpp +++ b/xpcom/base/nsMemoryReporterManager.cpp @@ -522,6 +522,8 @@ PrivateDistinguishedAmount(int64_t* aN) #ifdef HAVE_VSIZE_MAX_CONTIGUOUS_REPORTER class VsizeMaxContiguousReporter MOZ_FINAL : public nsIMemoryReporter { + ~VsizeMaxContiguousReporter() {} + public: NS_DECL_ISUPPORTS @@ -543,6 +545,8 @@ NS_IMPL_ISUPPORTS(VsizeMaxContiguousReporter, nsIMemoryReporter) #ifdef HAVE_PRIVATE_REPORTER class PrivateReporter MOZ_FINAL : public nsIMemoryReporter { + ~PrivateReporter() {} + public: NS_DECL_ISUPPORTS