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

This commit is contained in:
Ehsan Akhgari 2012-07-19 00:48:45 -04:00
parent f7b7b72794
commit efa1fce835

View File

@ -12,6 +12,7 @@
#include "nsAutoPtr.h"
#include "nsTObserverArray.h"
#include "nsCycleCollectionParticipant.h"
#include "mozilla/Attributes.h"
class Accessible;
class nsIAccessibleTraversalRule;
@ -23,7 +24,7 @@ NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_GENERAL, 0x26)
/**
* Class represents an accessible pivot.
*/
class nsAccessiblePivot: public nsIAccessiblePivot
class nsAccessiblePivot MOZ_FINAL : public nsIAccessiblePivot
{
public:
nsAccessiblePivot(Accessible* aRoot);