| Index: third_party/WebKit/Source/modules/websockets/CloseEvent.h
|
| diff --git a/third_party/WebKit/Source/modules/websockets/CloseEvent.h b/third_party/WebKit/Source/modules/websockets/CloseEvent.h
|
| index 1a33d741152ebb9ceae0d572806de1f92fb8e006..0c9c621e62ca8e048bdcfff2b40e9150b87c8b70 100644
|
| --- a/third_party/WebKit/Source/modules/websockets/CloseEvent.h
|
| +++ b/third_party/WebKit/Source/modules/websockets/CloseEvent.h
|
| @@ -46,19 +46,19 @@ namespace blink {
|
| class CloseEvent final : public Event {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<CloseEvent> create()
|
| + static RawPtr<CloseEvent> create()
|
| {
|
| - return adoptRefWillBeNoop(new CloseEvent());
|
| + return new CloseEvent();
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<CloseEvent> create(bool wasClean, unsigned short code, const String& reason)
|
| + static RawPtr<CloseEvent> create(bool wasClean, unsigned short code, const String& reason)
|
| {
|
| - return adoptRefWillBeNoop(new CloseEvent(wasClean, code, reason));
|
| + return new CloseEvent(wasClean, code, reason);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<CloseEvent> create(const AtomicString& type, const CloseEventInit& initializer)
|
| + static RawPtr<CloseEvent> create(const AtomicString& type, const CloseEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new CloseEvent(type, initializer));
|
| + return new CloseEvent(type, initializer);
|
| }
|
|
|
| bool wasClean() const { return m_wasClean; }
|
|
|