зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
f93aa44bea
Коммит
05e3783308
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче