mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1005036 - Make OSXNotificationInfo not use mozilla::RefCounted; r=josh
This commit is contained in:
parent
eb74253068
commit
8b2af2fb22
@ -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…
Reference in New Issue
Block a user