Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey

This commit is contained in:
Jim Chen
2014-08-26 15:07:59 -04:00
parent 2fe5eb0c13
commit ba12eedda5
22 changed files with 72 additions and 19 deletions

View File

@@ -87,6 +87,10 @@ static StaticRefPtr<ContentCreationNotifier> gContentCreationNotifier;
// are created. Currently an update for the screen size is sent.
class ContentCreationNotifier MOZ_FINAL : public nsIObserver
{
private:
~ContentCreationNotifier() {}
public:
NS_DECL_ISUPPORTS
NS_IMETHOD Observe(nsISupports* aSubject,