Index: Source/modules/app_banner/BeforeInstallPromptEvent.cpp |
diff --git a/Source/modules/app_banner/BeforeInstallPromptEvent.cpp b/Source/modules/app_banner/BeforeInstallPromptEvent.cpp |
index 74cdab48b06f844afaf94119b8a34e03fb48a2cc..229c233190ee61263323b33deb0670f52bec4d9b 100644 |
--- a/Source/modules/app_banner/BeforeInstallPromptEvent.cpp |
+++ b/Source/modules/app_banner/BeforeInstallPromptEvent.cpp |
@@ -51,7 +51,7 @@ ScriptPromise BeforeInstallPromptEvent::userChoice(ScriptState* scriptState) |
{ |
if (m_userChoice.isEmpty() && m_client) { |
ASSERT(m_requestId != -1); |
- RefPtrWillBeRawPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); |
+ ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
m_userChoice = resolver->promise(); |
m_client->registerBannerCallbacks(m_requestId, new CallbackPromiseAdapter<AppBannerPromptResult, void>(resolver)); |
} |