bug 846619 - ArchiveZipFile should use inherited cc nsISupports macros since it inherits from nsDOMFileCC r=smaug
authorTrevor Saunders <trev.saunders@gmail.com>
Thu, 28 Feb 2013 18:09:59 -0500
changeset 123772 5f2ed65743659c7e42121ab4915b6a50b51f7c4e
parent 123771 22288118672b5b423188d960022735728294f06a
child 123773 871fea46488376bef20f4f71a2c5a89bba39b16e
push idunknown
push userunknown
push dateunknown
reviewerssmaug
bugs846619
milestone22.0a1
bug 846619 - ArchiveZipFile should use inherited cc nsISupports macros since it inherits from nsDOMFileCC r=smaug
dom/file/ArchiveZipFile.h
--- a/dom/file/ArchiveZipFile.h
+++ b/dom/file/ArchiveZipFile.h
@@ -54,18 +54,18 @@ public:
   virtual ~ArchiveZipFile()
   {
     MOZ_COUNT_DTOR(ArchiveZipFile);
   }
 
   // Overrides:
   NS_IMETHOD GetInternalStream(nsIInputStream**);
 
-  NS_DECL_CYCLE_COLLECTING_ISUPPORTS
-  NS_DECL_CYCLE_COLLECTION_CLASS_AMBIGUOUS(ArchiveZipFile, nsIDOMFile)
+  NS_DECL_ISUPPORTS_INHERITED
+  NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED(ArchiveZipFile, nsDOMFileCC)
 
 protected:
   virtual already_AddRefed<nsIDOMBlob> CreateSlice(uint64_t aStart,
                                                    uint64_t aLength,
                                                    const nsAString& aContentType);
 
 private: // Data
   ZipCentral mCentral;