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

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, 10 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 dfa1cf82d54a6dc210467250d3fcf2867ad27e9a..ae1723585c28d583a69c0e75f02cb15609733b5c 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);
+ return (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