mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1038150 - Make nsAnonTempFileRemover's destructor private and also remove the useless ctor/dtor counting macros; r=bjacob
This commit is contained in:
parent
1465e09a99
commit
1defb58838
@ -162,15 +162,7 @@ class nsAnonTempFileRemover MOZ_FINAL : public nsIObserver
|
|||||||
public:
|
public:
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
|
|
||||||
nsAnonTempFileRemover()
|
nsAnonTempFileRemover() {}
|
||||||
{
|
|
||||||
MOZ_COUNT_CTOR(nsAnonTempFileRemover);
|
|
||||||
}
|
|
||||||
|
|
||||||
~nsAnonTempFileRemover()
|
|
||||||
{
|
|
||||||
MOZ_COUNT_DTOR(nsAnonTempFileRemover);
|
|
||||||
}
|
|
||||||
|
|
||||||
nsresult Init()
|
nsresult Init()
|
||||||
{
|
{
|
||||||
@ -264,6 +256,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
~nsAnonTempFileRemover() {}
|
||||||
|
|
||||||
nsCOMPtr<nsITimer> mTimer;
|
nsCOMPtr<nsITimer> mTimer;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user