From fc23f1f2f4150de4273427b3a903fe36d9a13ac0 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 28 Aug 2020 12:51:56 +0000 Subject: [PATCH] Bug 1661274 - Unbreak Gtk build on non-Linux after bug 1652813;r=froydnj Differential Revision: https://phabricator.services.mozilla.com/D88537 --- xpcom/base/nsMemoryReporterManager.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xpcom/base/nsMemoryReporterManager.h b/xpcom/base/nsMemoryReporterManager.h index 9d8ac1158b0d..aaf55f473563 100644 --- a/xpcom/base/nsMemoryReporterManager.h +++ b/xpcom/base/nsMemoryReporterManager.h @@ -182,10 +182,8 @@ class nsMemoryReporterManager final : public nsIMemoryReporterManager, static int64_t ResidentUnique(HANDLE aProcess = nullptr); #elif XP_MACOSX static int64_t ResidentUnique(mach_port_t aPort = 0); -#elif XP_LINUX - static int64_t ResidentUnique(pid_t aPid = 0); #else - static int64_t ResidentUnique(); + static int64_t ResidentUnique(pid_t aPid = 0); #endif // XP_{WIN, MACOSX, LINUX, *} // Functions that measure per-tab memory consumption.