| Index: third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
|
| diff --git a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
|
| index c905ef6e7a25bff2f1c882d9517e97c083528731..95e67d40fbf536e7ac1a653180d5ebb428176276 100644
|
| --- a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
|
| +++ b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
|
| @@ -19,13 +19,13 @@ namespace blink {
|
| class CORE_EXPORT PromiseRejectionEvent final : public Event {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<PromiseRejectionEvent> create()
|
| + static RawPtr<PromiseRejectionEvent> create()
|
| {
|
| return adoptRefWillBeNoop(new PromiseRejectionEvent);
|
| }
|
| - static PassRefPtrWillBeRawPtr<PromiseRejectionEvent> create(ScriptState* state, const AtomicString& type, const PromiseRejectionEventInit& initializer)
|
| + static RawPtr<PromiseRejectionEvent> create(ScriptState* state, const AtomicString& type, const PromiseRejectionEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new PromiseRejectionEvent(state, type, initializer));
|
| + return new PromiseRejectionEvent(state, type, initializer);
|
| }
|
|
|
| ScriptValue reason(ScriptState*) const;
|
|
|