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
Родитель a86911fbcb
Коммит c7cfdee5c9
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -522,6 +522,8 @@ PrivateDistinguishedAmount(int64_t* aN)
#ifdef HAVE_VSIZE_MAX_CONTIGUOUS_REPORTER #ifdef HAVE_VSIZE_MAX_CONTIGUOUS_REPORTER
class VsizeMaxContiguousReporter MOZ_FINAL : public nsIMemoryReporter class VsizeMaxContiguousReporter MOZ_FINAL : public nsIMemoryReporter
{ {
~VsizeMaxContiguousReporter() {}
public: public:
NS_DECL_ISUPPORTS NS_DECL_ISUPPORTS
@ -543,6 +545,8 @@ NS_IMPL_ISUPPORTS(VsizeMaxContiguousReporter, nsIMemoryReporter)
#ifdef HAVE_PRIVATE_REPORTER #ifdef HAVE_PRIVATE_REPORTER
class PrivateReporter MOZ_FINAL : public nsIMemoryReporter class PrivateReporter MOZ_FINAL : public nsIMemoryReporter
{ {
~PrivateReporter() {}
public: public:
NS_DECL_ISUPPORTS NS_DECL_ISUPPORTS