Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationEvent.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698