Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1310)

Unified Diff: Source/modules/app_banner/AppBannerPromptResult.cpp

Issue 1257823003: Revert of Refactor BeforeInstallPromptEvent to use ScriptPromiseProperty (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/app_banner/AppBannerPromptResult.cpp
diff --git a/Source/modules/app_banner/AppBannerPromptResult.cpp b/Source/modules/app_banner/AppBannerPromptResult.cpp
index 478e0c2ebc7333dc8f58672b65021d4d9d329ed8..128d19ae6f8ead467650325b9cd151a6ca4a1076 100644
--- a/Source/modules/app_banner/AppBannerPromptResult.cpp
+++ b/Source/modules/app_banner/AppBannerPromptResult.cpp
@@ -10,7 +10,7 @@
namespace blink {
// static
-AppBannerPromptResult* AppBannerPromptResult::take(PassOwnPtr<WebAppBannerPromptResult> webInstance)
+AppBannerPromptResult* AppBannerPromptResult::take(ScriptPromiseResolver* resolver, PassOwnPtr<WebAppBannerPromptResult> webInstance)
{
return webInstance ? AppBannerPromptResult::create(webInstance->platform, webInstance->outcome) : nullptr;
}
« no previous file with comments | « Source/modules/app_banner/AppBannerPromptResult.h ('k') | Source/modules/app_banner/BeforeInstallPromptEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698