mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Bug 1005036 - Make OSXNotificationInfo not use mozilla::RefCounted; r=josh
This commit is contained in:
parent
21ef0f32ea
commit
07b1fe3b6c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user