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 2b8775772e
commit 7e089bec50

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;
}