зеркало из https://github.com/mozilla/gecko-dev.git
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 dom parts); r=bzbarsky
This commit is contained in:
Родитель
951332a47b
Коммит
045cd8a4a7
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include "jspubtd.h"
|
||||
#include "nsIOSFileConstantsService.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
|
@ -43,7 +44,7 @@ bool DefineOSFileConstants(JSContext *cx, JSObject *global);
|
|||
/**
|
||||
* XPConnect initializer, for use in the main thread.
|
||||
*/
|
||||
class OSFileConstantsService: public nsIOSFileConstantsService
|
||||
class OSFileConstantsService MOZ_FINAL : public nsIOSFileConstantsService
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
|
Загрузка…
Ссылка в новой задаче