mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +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 (view parts); r=roc
--HG-- extra : rebase_source : 5492f4c6d1cab22211b760edf8c77b889c651d76
This commit is contained in:
parent
7e0eb3c34f
commit
8bc6a36022
@ -11,6 +11,7 @@
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsGfxCIID.h"
|
||||
#include "nsIInterfaceRequestor.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
//mmptemp
|
||||
|
||||
@ -26,7 +27,7 @@ static nsEventStatus HandleEvent(nsGUIEvent *aEvent);
|
||||
/**
|
||||
* nsISupports-derived helper class that allows to store and get a view
|
||||
*/
|
||||
class ViewWrapper : public nsIInterfaceRequestor
|
||||
class ViewWrapper MOZ_FINAL : public nsIInterfaceRequestor
|
||||
{
|
||||
public:
|
||||
NS_DECLARE_STATIC_IID_ACCESSOR(VIEW_WRAPPER_IID)
|
||||
|
Loading…
Reference in New Issue
Block a user