mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
cb397e6eb5
commit
442c0d2876
@ -162,15 +162,7 @@ class nsAnonTempFileRemover MOZ_FINAL : public nsIObserver
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
nsAnonTempFileRemover()
|
||||
{
|
||||
MOZ_COUNT_CTOR(nsAnonTempFileRemover);
|
||||
}
|
||||
|
||||
~nsAnonTempFileRemover()
|
||||
{
|
||||
MOZ_COUNT_DTOR(nsAnonTempFileRemover);
|
||||
}
|
||||
nsAnonTempFileRemover() {}
|
||||
|
||||
nsresult Init()
|
||||
{
|
||||
@ -264,6 +256,8 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
~nsAnonTempFileRemover() {}
|
||||
|
||||
nsCOMPtr<nsITimer> mTimer;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user