| Index: third_party/WebKit/Source/modules/presentation/PresentationConnectionCloseEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnectionCloseEvent.h b/third_party/WebKit/Source/modules/presentation/PresentationConnectionCloseEvent.h
|
| index f7b5ce0677d41503516a19e4b2d27ebe1ec9e137..53b59bb54b09a3826a12253d8ec9032a95dccbf4 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnectionCloseEvent.h
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionCloseEvent.h
|
| @@ -20,19 +20,19 @@ class PresentationConnectionCloseEvent final : public Event {
|
| public:
|
| ~PresentationConnectionCloseEvent() override = default;
|
|
|
| - static PassRefPtrWillBeRawPtr<PresentationConnectionCloseEvent> create()
|
| + static RawPtr<PresentationConnectionCloseEvent> create()
|
| {
|
| return adoptRefWillBeNoop(new PresentationConnectionCloseEvent);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<PresentationConnectionCloseEvent> create(const AtomicString& eventType, const String& reason, const String& message)
|
| + static RawPtr<PresentationConnectionCloseEvent> create(const AtomicString& eventType, const String& reason, const String& message)
|
| {
|
| - return adoptRefWillBeNoop(new PresentationConnectionCloseEvent(eventType, reason, message));
|
| + return new PresentationConnectionCloseEvent(eventType, reason, message);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<PresentationConnectionCloseEvent> create(const AtomicString& eventType, const PresentationConnectionCloseEventInit& initializer)
|
| + static RawPtr<PresentationConnectionCloseEvent> create(const AtomicString& eventType, const PresentationConnectionCloseEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new PresentationConnectionCloseEvent(eventType, initializer));
|
| + return new PresentationConnectionCloseEvent(eventType, initializer);
|
| }
|
|
|
| const String& reason() const { return m_reason; }
|
|
|