Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user