mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00: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 (accessibility parts); blanket-r=bzbarsky
This commit is contained in:
parent
f7b7b72794
commit
efa1fce835
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user