mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 747509 - include document ID and styled links tables in about:memory; r=njn
This commit is contained in:
parent
dd1b35cb39
commit
e4b3045b6a
@ -9682,6 +9682,12 @@ nsDocument::DocSizeOfExcludingThis(nsWindowSizes* aWindowSizes) const
|
||||
mAttrStyleSheet->DOMSizeOfIncludingThis(aWindowSizes->mMallocSizeOf) :
|
||||
0;
|
||||
|
||||
aWindowSizes->mDOMOther +=
|
||||
mStyledLinks.SizeOfExcludingThis(NULL, aWindowSizes->mMallocSizeOf);
|
||||
|
||||
aWindowSizes->mDOMOther +=
|
||||
mIdentifierMap.SizeOfExcludingThis(NULL, aWindowSizes->mMallocSizeOf);
|
||||
|
||||
// Measurement of the following members may be added later if DMD finds it
|
||||
// is worthwhile:
|
||||
// - many!
|
||||
|
Loading…
Reference in New Issue
Block a user