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:
|
// Not owned:
|
||||||
// - mDecoder
|
// - mDecoder
|
||||||
size_t size = MediaResource::SizeOfExcludingThis(aMallocSizeOf);
|
size_t size = MediaResource::SizeOfExcludingThis(aMallocSizeOf);
|
||||||
size += mContentType.SizeOfIncludingThisIfUnshared(aMallocSizeOf);
|
size += mContentType.SizeOfExcludingThisIfUnshared(aMallocSizeOf);
|
||||||
|
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user