From c67e76416eb787fb5208c94766e5b76965771eb7 Mon Sep 17 00:00:00 2001 From: Kyle Huey Date: Mon, 1 Aug 2011 08:26:15 -0400 Subject: [PATCH] Backed out changeset 030c419226ed --- xpcom/glue/nsTArray.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xpcom/glue/nsTArray.h b/xpcom/glue/nsTArray.h index e28b8cfb0a42..f385a680ce30 100644 --- a/xpcom/glue/nsTArray.h +++ b/xpcom/glue/nsTArray.h @@ -430,12 +430,6 @@ public: return *this; } - // @return The amount of memory taken used by this nsTArray, not including - // sizeof(this) - size_t SizeOf() const { - return Capacity() * sizeof(elem_type) + sizeof(mHdr); - } - // // Accessor methods //