mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1001419 - Use SizeOfExcludingThis for non-heap allocated member variable. r=njn
This commit is contained in:
parent
a4f9513be6
commit
039aec2db2
@ -422,7 +422,7 @@ public:
|
||||
// Not owned:
|
||||
// - mDecoder
|
||||
size_t size = MediaResource::SizeOfExcludingThis(aMallocSizeOf);
|
||||
size += mContentType.SizeOfIncludingThisIfUnshared(aMallocSizeOf);
|
||||
size += mContentType.SizeOfExcludingThisIfUnshared(aMallocSizeOf);
|
||||
|
||||
return size;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user