Bug 1487082 - fix a couple of double-mRefCnt declaration errors. r=jorgk
authorBen Campbell <benc@thunderbird.net>
Mon, 17 Sep 2018 11:56:22 +1200
changeset 33172 71ff55c3ec2e94de01c94a8de546f15e6a3f7d75
parent 33171 f4212f66b639624c507a68f1a6db487022ca9fdb
child 33173 50da05f6af45c6aa572428c1d86320a02c527969
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersjorgk
bugs1487082
Bug 1487082 - fix a couple of double-mRefCnt declaration errors. r=jorgk
mail/components/migration/src/nsSeamonkeyProfileMigrator.h
mailnews/addrbook/src/nsAbMDBDirProperty.h
--- a/mail/components/migration/src/nsSeamonkeyProfileMigrator.h
+++ b/mail/components/migration/src/nsSeamonkeyProfileMigrator.h
@@ -11,17 +11,17 @@
 #include "nsNetscapeProfileMigratorBase.h"
 
 class nsIPrefBranch;
 class nsIPrefService;
 
 class nsSeamonkeyProfileMigrator : public nsNetscapeProfileMigratorBase
 {
 public:
-  NS_DECL_ISUPPORTS
+  NS_DECL_ISUPPORTS_INHERITED
 
   nsSeamonkeyProfileMigrator();
 
   // nsIMailProfileMigrator methods
   NS_IMETHOD Migrate(uint16_t aItems, nsIProfileStartup* aStartup,
                         const char16_t* aProfile) override;
   NS_IMETHOD GetMigrateData(const char16_t* aProfile, bool aReplace,
                             uint16_t* aResult) override;
--- a/mailnews/addrbook/src/nsAbMDBDirProperty.h
+++ b/mailnews/addrbook/src/nsAbMDBDirProperty.h
@@ -23,17 +23,17 @@
   * Address Book Directory
   */
 
 class nsAbMDBDirProperty: public nsIAbMDBDirectory, public nsAbDirProperty
 {
 public:
   nsAbMDBDirProperty(void);
 
-  NS_DECL_ISUPPORTS
+  NS_DECL_ISUPPORTS_INHERITED
   NS_DECL_NSIABMDBDIRECTORY
 
 protected:
   virtual ~nsAbMDBDirProperty();
 
   uint32_t m_dbRowID;
 };