Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpcom and gonk parts); r=jrmuizel
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "nsThreadUtils.h"
|
||||
#include "prinrval.h"
|
||||
#include "prmon.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
#include "mozilla/ReentrantMonitor.h"
|
||||
using namespace mozilla;
|
||||
@@ -68,7 +69,7 @@ private:
|
||||
ReentrantMonitor* mReentrantMonitor;
|
||||
};
|
||||
|
||||
class TimerCallback : public nsITimerCallback
|
||||
class TimerCallback MOZ_FINAL : public nsITimerCallback
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
Reference in New Issue
Block a user