| Index: third_party/WebKit/Source/modules/notifications/NotificationEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/notifications/NotificationEvent.h b/third_party/WebKit/Source/modules/notifications/NotificationEvent.h
|
| index e2cfb7bb9ca24ec3fba48bf289df1cc30a7aecdd..716b1b4581fe384dfea02c5d973a0fd35fdfcd96 100644
|
| --- a/third_party/WebKit/Source/modules/notifications/NotificationEvent.h
|
| +++ b/third_party/WebKit/Source/modules/notifications/NotificationEvent.h
|
| @@ -18,17 +18,17 @@ class NotificationEventInit;
|
| class MODULES_EXPORT NotificationEvent final : public ExtendableEvent {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<NotificationEvent> create()
|
| + static RawPtr<NotificationEvent> create()
|
| {
|
| return adoptRefWillBeNoop(new NotificationEvent);
|
| }
|
| - static PassRefPtrWillBeRawPtr<NotificationEvent> create(const AtomicString& type, const NotificationEventInit& initializer)
|
| + static RawPtr<NotificationEvent> create(const AtomicString& type, const NotificationEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new NotificationEvent(type, initializer));
|
| + return new NotificationEvent(type, initializer);
|
| }
|
| - static PassRefPtrWillBeRawPtr<NotificationEvent> create(const AtomicString& type, const NotificationEventInit& initializer, WaitUntilObserver* observer)
|
| + static RawPtr<NotificationEvent> create(const AtomicString& type, const NotificationEventInit& initializer, WaitUntilObserver* observer)
|
| {
|
| - return adoptRefWillBeNoop(new NotificationEvent(type, initializer, observer));
|
| + return new NotificationEvent(type, initializer, observer);
|
| }
|
|
|
| ~NotificationEvent() override;
|
| @@ -45,7 +45,7 @@ private:
|
| NotificationEvent(const AtomicString& type, const NotificationEventInit&);
|
| NotificationEvent(const AtomicString& type, const NotificationEventInit&, WaitUntilObserver*);
|
|
|
| - PersistentWillBeMember<Notification> m_notification;
|
| + Member<Notification> m_notification;
|
| String m_action;
|
| };
|
|
|
|
|