mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 813528 - WebGLElementArrayCache about:memory should not pass array.Elements() to MallocSizeOf - r=jgilbert
This commit is contained in:
parent
59b4bcfc53
commit
4f8c5dd285
@ -306,7 +306,7 @@ public:
|
||||
|
||||
size_t SizeOfIncludingThis(nsMallocSizeOfFun aMallocSizeOf) const
|
||||
{
|
||||
return aMallocSizeOf(this) + aMallocSizeOf(mTreeData.Elements());
|
||||
return aMallocSizeOf(this) + mTreeData.SizeOfExcludingThis(aMallocSizeOf);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user