mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 13:04:28 +00:00
Bug 813528 - WebGLElementArrayCache about:memory should not pass array.Elements() to MallocSizeOf - r=jgilbert
This commit is contained in:
parent
fb38f6c750
commit
478e9dc583
@ -306,7 +306,7 @@ public:
|
||||
|
||||
size_t SizeOfIncludingThis(nsMallocSizeOfFun aMallocSizeOf) const
|
||||
{
|
||||
return aMallocSizeOf(this) + aMallocSizeOf(mTreeData.Elements());
|
||||
return aMallocSizeOf(this) + mTreeData.SizeOfExcludingThis(aMallocSizeOf);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user