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 widget parts); r=roc
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "nsIInterfaceRequestorUtils.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
#ifdef XP_WIN
|
||||
#include <windows.h>
|
||||
@@ -158,7 +159,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class EventListener : public nsIDOMEventListener
|
||||
class EventListener MOZ_FINAL : public nsIDOMEventListener
|
||||
{
|
||||
nsCOMPtr<nsIAppShell> mAppShell;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user