зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1035747 - Fix dangerous public destructors specific to FreeBSD. r=bjacob
This commit is contained in:
Родитель
a86911fbcb
Коммит
c7cfdee5c9
|
@ -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
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче