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 jsd parts); r=Waldo

This commit is contained in:
Ehsan Akhgari 2012-06-19 23:43:15 -04:00
parent c52e42d252
commit b37643829c

View File

@ -7,11 +7,12 @@
#define COMPONENTS_JSDEBUGGER_H
#include "IJSDebugger.h"
#include "mozilla/Attributes.h"
namespace mozilla {
namespace jsdebugger {
class JSDebugger : public IJSDebugger
class JSDebugger MOZ_FINAL : public IJSDebugger
{
public:
NS_DECL_ISUPPORTS