mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +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 (more dom parts); r=bzbarsky
--HG-- extra : rebase_source : e31b077d8556626aa46ac33abbe2997e86ba68df
This commit is contained in:
parent
3e86298a2f
commit
7e0eb3c34f
@ -17,12 +17,13 @@
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "nsJSUtils.h"
|
||||
#include "DictionaryHelpers.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
using namespace mozilla::dom;
|
||||
|
||||
#include "nsDirectoryServiceDefs.h"
|
||||
|
||||
class DeviceStorageFile : public nsISupports {
|
||||
class DeviceStorageFile MOZ_FINAL : public nsISupports {
|
||||
public:
|
||||
|
||||
nsCOMPtr<nsIFile> mFile;
|
||||
|
@ -7,12 +7,13 @@
|
||||
#define mozilla_dom_sms_SmsDatabaseService_h
|
||||
|
||||
#include "nsISmsDatabaseService.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
namespace sms {
|
||||
|
||||
class SmsDatabaseService : public nsISmsDatabaseService
|
||||
class SmsDatabaseService MOZ_FINAL : public nsISmsDatabaseService
|
||||
{
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
Loading…
x
Reference in New Issue
Block a user