Bug 1137151: Marked destructor of |MozNDEFRecord| as protected, r=allstars.chh

This commit is contained in:
Thomas Zimmermann 2015-03-10 13:44:01 +01:00
parent c684ae664e
commit 505e0009d7

View File

@ -40,8 +40,6 @@ public:
public:
MozNDEFRecord(nsISupports* aParent, TNF aTnf = TNF::Empty);
~MozNDEFRecord();
nsISupports* GetParentObject() const
{
return mParent;
@ -98,6 +96,10 @@ public:
// Structured clone methods use these to clone MozNDEFRecord.
bool WriteStructuredClone(JSContext* aCx, JSStructuredCloneWriter* aWriter) const;
bool ReadStructuredClone(JSContext* aCx, JSStructuredCloneReader* aReader);
protected:
~MozNDEFRecord();
private:
MozNDEFRecord() = delete;
nsRefPtr<nsISupports> mParent;