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 content parts); r=bzbarsky

This commit is contained in:
Ehsan Akhgari 2012-07-11 00:06:42 -04:00
parent 799b7abdba
commit e22f74ff63

View File

@ -13,6 +13,7 @@
#include "nsCOMPtr.h" // for already_AddRefed
#include "plhash.h"
#include "nsCycleCollectionParticipant.h"
#include "mozilla/Attributes.h"
class nsIAtom;
class nsIDocument;
@ -28,7 +29,7 @@ class nsIDOMNamedNodeMap;
class nsXULPrototypeDocument;
class nsBindingManager;
class nsNodeInfoManager : public nsISupports
class nsNodeInfoManager MOZ_FINAL : public nsISupports
{
public:
nsNodeInfoManager();