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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationConnectionAvailableEvent.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/presentation/PresentationConnectionAvailableEvent.h
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnectionAvailableEvent.h b/third_party/WebKit/Source/modules/presentation/PresentationConnectionAvailableEvent.h
index 09038085dc13ec940df26a351a3db5e0efcfd2bf..cc4c559558d07b94980f4b38a367d01f1d697cfa 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnectionAvailableEvent.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionAvailableEvent.h
@@ -21,17 +21,17 @@ class PresentationConnectionAvailableEvent final : public Event {
public:
~PresentationConnectionAvailableEvent() override;
- static PassRefPtrWillBeRawPtr<PresentationConnectionAvailableEvent> create()
+ static RawPtr<PresentationConnectionAvailableEvent> create()
{
return adoptRefWillBeNoop(new PresentationConnectionAvailableEvent);
}
- static PassRefPtrWillBeRawPtr<PresentationConnectionAvailableEvent> create(const AtomicString& eventType, PresentationConnection* connection)
+ static RawPtr<PresentationConnectionAvailableEvent> create(const AtomicString& eventType, PresentationConnection* connection)
{
- return adoptRefWillBeNoop(new PresentationConnectionAvailableEvent(eventType, connection));
+ return new PresentationConnectionAvailableEvent(eventType, connection);
}
- static PassRefPtrWillBeRawPtr<PresentationConnectionAvailableEvent> create(const AtomicString& eventType, const PresentationConnectionAvailableEventInit& initializer)
+ static RawPtr<PresentationConnectionAvailableEvent> create(const AtomicString& eventType, const PresentationConnectionAvailableEventInit& initializer)
{
- return adoptRefWillBeNoop(new PresentationConnectionAvailableEvent(eventType, initializer));
+ return new PresentationConnectionAvailableEvent(eventType, initializer);
}
PresentationConnection* connection() { return m_connection.get(); }
@@ -45,7 +45,7 @@ private:
PresentationConnectionAvailableEvent(const AtomicString& eventType, PresentationConnection*);
PresentationConnectionAvailableEvent(const AtomicString& eventType, const PresentationConnectionAvailableEventInit& initializer);
- PersistentWillBeMember<PresentationConnection> m_connection;
+ Member<PresentationConnection> m_connection;
};
DEFINE_TYPE_CASTS(PresentationConnectionAvailableEvent, Event, event, event->interfaceName() == EventNames::PresentationConnectionAvailableEvent, event.interfaceName() == EventNames::PresentationConnectionAvailableEvent);

Powered by Google App Engine
This is Rietveld 408576698