Bug 1001419 - Use SizeOfExcludingThis for non-heap allocated member variable. r=njn

This commit is contained in:
Eric Rahm 2014-04-29 14:47:56 -07:00
parent a4f9513be6
commit 039aec2db2

View File

@ -422,7 +422,7 @@ public:
// Not owned:
// - mDecoder
size_t size = MediaResource::SizeOfExcludingThis(aMallocSizeOf);
size += mContentType.SizeOfIncludingThisIfUnshared(aMallocSizeOf);
size += mContentType.SizeOfExcludingThisIfUnshared(aMallocSizeOf);
return size;
}