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

Unified Diff: third_party/WebKit/Source/modules/push_messaging/PushEvent.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/push_messaging/PushEvent.h
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushEvent.h b/third_party/WebKit/Source/modules/push_messaging/PushEvent.h
index 514e2a6131dd04350fc68258c1947d40d9226e63..4fb3754a23e93cf109f853ff5a2546393bcf4e03 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushEvent.h
+++ b/third_party/WebKit/Source/modules/push_messaging/PushEvent.h
@@ -20,17 +20,17 @@ class PushEventInit;
class MODULES_EXPORT PushEvent final : public ExtendableEvent {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<PushEvent> create()
+ static RawPtr<PushEvent> create()
{
return adoptRefWillBeNoop(new PushEvent);
}
- static PassRefPtrWillBeRawPtr<PushEvent> create(const AtomicString& type, PushMessageData* data, WaitUntilObserver* observer)
+ static RawPtr<PushEvent> create(const AtomicString& type, PushMessageData* data, WaitUntilObserver* observer)
{
- return adoptRefWillBeNoop(new PushEvent(type, data, observer));
+ return new PushEvent(type, data, observer);
}
- static PassRefPtrWillBeRawPtr<PushEvent> create(const AtomicString& type, const PushEventInit& initializer)
+ static RawPtr<PushEvent> create(const AtomicString& type, const PushEventInit& initializer)
{
- return adoptRefWillBeNoop(new PushEvent(type, initializer));
+ return new PushEvent(type, initializer);
}
~PushEvent() override;
@@ -46,7 +46,7 @@ private:
PushEvent(const AtomicString& type, PushMessageData*, WaitUntilObserver*);
PushEvent(const AtomicString& type, const PushEventInit&);
- PersistentWillBeMember<PushMessageData> m_data;
+ Member<PushMessageData> m_data;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698