Confirmed users
1,345
edits
Nnethercote (talk | contribs) |
Nnethercote (talk | contribs) |
||
| Line 85: | Line 85: | ||
MyString *gMyString; | MyString *gMyString; | ||
class MyStringReporter MOZ_FINAL : public | class MyStringReporter MOZ_FINAL : public nsIMemoryReporter | ||
{ | { | ||
MOZ_DEFINE_MALLOC_SIZE_OF(MallocSizeOf) | MOZ_DEFINE_MALLOC_SIZE_OF(MallocSizeOf) | ||
| Line 92: | Line 92: | ||
NS_DECL_ISUPPORTS | NS_DECL_ISUPPORTS | ||
NS_METHOD | |||
CollectReports(nsIHandleReportCallback* aHandleReport, nsISupports* aData) | CollectReports(nsIHandleReportCallback* aHandleReport, nsISupports* aData) | ||
{ | { | ||