Bug 1035747 - Fix dangerous public destructors specific to FreeBSD. r=bjacob

This commit is contained in:
Jan Beich 2014-07-08 05:21:00 +02:00
parent 2966ff570c
commit 46c7501bd7

View File

@ -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