| Index: Source/modules/app_banner/AppBannerPromptResult.h
|
| diff --git a/Source/modules/app_banner/AppBannerPromptResult.h b/Source/modules/app_banner/AppBannerPromptResult.h
|
| index a949c7d086ae61e457d92f1a613c8417b724ee16..cee172250a99c75fbaf553e4203889270b963650 100644
|
| --- a/Source/modules/app_banner/AppBannerPromptResult.h
|
| +++ b/Source/modules/app_banner/AppBannerPromptResult.h
|
| @@ -8,6 +8,7 @@
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "public/platform/modules/app_banner/WebAppBannerPromptResult.h"
|
| #include "wtf/Noncopyable.h"
|
| +#include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -20,7 +21,7 @@ class AppBannerPromptResult final : public GarbageCollectedFinalized<AppBannerPr
|
| WTF_MAKE_NONCOPYABLE(AppBannerPromptResult);
|
| public:
|
| // Support for CallbackPromiseAdapter:
|
| - typedef blink::WebAppBannerPromptResult WebType;
|
| + using WebType = OwnPtr<blink::WebAppBannerPromptResult>;
|
| static AppBannerPromptResult* take(ScriptPromiseResolver*, PassOwnPtr<WebAppBannerPromptResult> webInstance);
|
|
|
| static AppBannerPromptResult* create(const AtomicString& platform, WebAppBannerPromptResult::Outcome outcome)
|
|
|