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 (xpfe/appshell parts); blanket-r=bzbarsky

This commit is contained in:
Ehsan Akhgari 2012-07-19 00:49:48 -04:00
Родитель efa1fce835
Коммит eb175c14e1
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -13,13 +13,14 @@
#include "nsWebShellWindow.h"
#include "nsStringFwd.h"
#include "nsAutoPtr.h"
#include "mozilla/Attributes.h"
// {0099907D-123C-4853-A46A-43098B5FB68C}
#define NS_APPSHELLSERVICE_CID \
{ 0x99907d, 0x123c, 0x4853, { 0xa4, 0x6a, 0x43, 0x9, 0x8b, 0x5f, 0xb6, 0x8c } }
class nsAppShellService : public nsIAppShellService,
public nsIObserver
class nsAppShellService MOZ_FINAL : public nsIAppShellService,
public nsIObserver
{
public:
NS_DECL_ISUPPORTS