Bug 813528 - WebGLElementArrayCache about:memory should not pass array.Elements() to MallocSizeOf - r=jgilbert

This commit is contained in:
Benoit Jacob 2012-11-22 13:53:11 -05:00
parent 59b4bcfc53
commit 4f8c5dd285

View File

@ -306,7 +306,7 @@ public:
size_t SizeOfIncludingThis(nsMallocSizeOfFun aMallocSizeOf) const
{
return aMallocSizeOf(this) + aMallocSizeOf(mTreeData.Elements());
return aMallocSizeOf(this) + mTreeData.SizeOfExcludingThis(aMallocSizeOf);
}
};