Index: Source/modules/app_banner/AppBannerPromptResult.h |
diff --git a/Source/modules/app_banner/AppBannerPromptResult.h b/Source/modules/app_banner/AppBannerPromptResult.h |
index 3ef287620e8e8efa53fb3f2824344e11a7f8a019..a949c7d086ae61e457d92f1a613c8417b724ee16 100644 |
--- a/Source/modules/app_banner/AppBannerPromptResult.h |
+++ b/Source/modules/app_banner/AppBannerPromptResult.h |
@@ -19,7 +19,9 @@ |
DEFINE_WRAPPERTYPEINFO(); |
WTF_MAKE_NONCOPYABLE(AppBannerPromptResult); |
public: |
- static AppBannerPromptResult* take(PassOwnPtr<WebAppBannerPromptResult> webInstance); |
+ // Support for CallbackPromiseAdapter: |
+ typedef blink::WebAppBannerPromptResult WebType; |
+ static AppBannerPromptResult* take(ScriptPromiseResolver*, PassOwnPtr<WebAppBannerPromptResult> webInstance); |
static AppBannerPromptResult* create(const AtomicString& platform, WebAppBannerPromptResult::Outcome outcome) |
{ |