Platform/Memory Reporting: Difference between revisions

Jump to navigation Jump to search
Line 88: Line 88:
   {
   {
     MOZ_DEFINE_MALLOC_SIZE_OF(MallocSizeOf)
     MOZ_DEFINE_MALLOC_SIZE_OF(MallocSizeOf)
 
   
   public:
   public:
     NS_DECL_ISUPPORTS
     NS_DECL_ISUPPORTS
 
   
     NS_IMETHOD
     NS_IMETHOD
     CollectReports(nsIHandleReportCallback* aHandleReport, nsISupports* aData)
     CollectReports(nsIHandleReportCallback* aHandleReport, nsISupports* aData)
Line 103: Line 103:
     }
     }
   };
   };
 
 
   NS_IMPL_ISUPPORTS1(MyStringReporter, nsIMemoryReporter)
   NS_IMPL_ISUPPORTS1(MyStringReporter, nsIMemoryReporter)


Confirmed users
1,345

edits

Navigation menu