| Index: Source/modules/push_messaging/PushError.h
|
| diff --git a/Source/modules/push_messaging/PushError.h b/Source/modules/push_messaging/PushError.h
|
| index ed38bb1126cfb34f90d1af5e729f8168d06a8e8e..89f297a025546208b1ef35cd07cc2a69b1812b95 100644
|
| --- a/Source/modules/push_messaging/PushError.h
|
| +++ b/Source/modules/push_messaging/PushError.h
|
| @@ -8,20 +8,18 @@
|
| #include "core/dom/DOMException.h"
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/modules/push_messaging/WebPushError.h"
|
| +#include "wtf/Allocator.h"
|
|
|
| namespace blink {
|
|
|
| class ScriptPromiseResolver;
|
|
|
| class PushError {
|
| - WTF_MAKE_NONCOPYABLE(PushError);
|
| + STATIC_ONLY(PushError);
|
| public:
|
| // For CallbackPromiseAdapter.
|
| using WebType = const WebPushError&;
|
| static DOMException* take(ScriptPromiseResolver*, const WebPushError& webError);
|
| -
|
| -private:
|
| - PushError() = delete;
|
| };
|
|
|
| } // namespace blink
|
|
|