Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd
This commit is contained in:
@@ -396,6 +396,8 @@ NS_IMPL_ISUPPORTS(LowEventsReporter, nsIMemoryReporter)
|
||||
*/
|
||||
class nsJemallocFreeDirtyPagesRunnable MOZ_FINAL : public nsIRunnable
|
||||
{
|
||||
~nsJemallocFreeDirtyPagesRunnable() {}
|
||||
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIRUNNABLE
|
||||
@@ -422,6 +424,8 @@ nsJemallocFreeDirtyPagesRunnable::Run()
|
||||
*/
|
||||
class nsMemoryPressureWatcher MOZ_FINAL : public nsIObserver
|
||||
{
|
||||
~nsMemoryPressureWatcher() {}
|
||||
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIOBSERVER
|
||||
|
||||
Reference in New Issue
Block a user