| Index: Source/modules/push_messaging/PushError.h
|
| diff --git a/Source/modules/push_messaging/PushError.h b/Source/modules/push_messaging/PushError.h
|
| index e5f1623befc87a160d3ec2c8b89a2026adddce63..ee59bb9d732d6226725df3049ad87c1e8e52c9ad 100644
|
| --- a/Source/modules/push_messaging/PushError.h
|
| +++ b/Source/modules/push_messaging/PushError.h
|
| @@ -8,6 +8,7 @@
|
| #include "core/dom/DOMException.h"
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/modules/push_messaging/WebPushError.h"
|
| +#include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
|
|
| namespace blink {
|
| @@ -18,8 +19,8 @@ class PushError {
|
| WTF_MAKE_NONCOPYABLE(PushError);
|
| public:
|
| // For CallbackPromiseAdapter.
|
| - typedef WebPushError WebType;
|
| - static DOMException* take(ScriptPromiseResolver*, PassOwnPtr<WebType> webError);
|
| + using WebType = OwnPtr<WebPushError>;
|
| + static DOMException* take(ScriptPromiseResolver*, PassOwnPtr<WebPushError> webError);
|
|
|
| private:
|
| PushError() = delete;
|
|
|