mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
3e1a5e0246
commit
e8d304cfca
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user