cherry-picked upstream change - Bug 798914 - Consolidate MallocSizeOf typedefs

This commit is contained in:
2018-07-23 15:29:44 +08:00
parent 5015907e62
commit 5b3dec5013
241 changed files with 859 additions and 562 deletions
+2 -1
View File
@@ -8,6 +8,7 @@
#include <algorithm>
/* This must occur *after* base/basictypes.h to avoid typedefs conflicts. */
#include "mozilla/MemoryReporting.h"
#include "mozilla/Util.h"
// Local Includes
@@ -11385,7 +11386,7 @@ nsGlobalWindow::HasIndexedDBSupport()
static size_t
SizeOfEventTargetObjectsEntryExcludingThisFun(
nsPtrHashKey<nsDOMEventTargetHelper> *aEntry,
nsMallocSizeOfFun aMallocSizeOf,
MallocSizeOf aMallocSizeOf,
void *arg)
{
nsISupports *supports = aEntry->GetKey();