Bug 1005036 - Make OSXNotificationInfo not use mozilla::RefCounted; r=josh

This commit is contained in:
Ehsan Akhgari 2014-05-02 12:42:31 -04:00
parent eb74253068
commit 8b2af2fb22

View File

@ -113,12 +113,14 @@ typedef NSInteger NSUserNotificationActivationType;
namespace mozilla {
class OSXNotificationInfo : public RefCounted<OSXNotificationInfo> {
class OSXNotificationInfo {
private:
~OSXNotificationInfo();
public:
MOZ_DECLARE_REFCOUNTED_TYPENAME(OSXNotificationInfo)
NS_INLINE_DECL_REFCOUNTING(OSXNotificationInfo)
OSXNotificationInfo(NSString *name, nsIObserver *observer,
const nsAString & alertCookie);
~OSXNotificationInfo();
NSString *mName;
nsCOMPtr<nsIObserver> mObserver;