| Index: Source/modules/presentation/PresentationError.h
|
| diff --git a/Source/modules/presentation/PresentationError.h b/Source/modules/presentation/PresentationError.h
|
| index 5904f23f440b12217a844580ad26f861269d4f11..c295b1ad87283d71fe44b6440e6a6ca21e9ce1aa 100644
|
| --- a/Source/modules/presentation/PresentationError.h
|
| +++ b/Source/modules/presentation/PresentationError.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/modules/presentation/WebPresentationError.h"
|
| +#include "wtf/Allocator.h"
|
|
|
| namespace blink {
|
|
|
| @@ -15,16 +16,12 @@ class ScriptPromiseResolver;
|
|
|
| // A container of methods taking care of WebPresentationError in WebCallbacks subclasses.
|
| class PresentationError final {
|
| - WTF_MAKE_NONCOPYABLE(PresentationError);
|
| + STATIC_ONLY(PresentationError);
|
| public:
|
| // For CallbackPromiseAdapter.
|
| using WebType = const WebPresentationError&;
|
|
|
| static DOMException* take(ScriptPromiseResolver*, const WebPresentationError&);
|
| -
|
| -private:
|
| - PresentationError() = delete;
|
| - ~PresentationError() = delete;
|
| };
|
|
|
| } // namespace blink
|
|
|