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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp

Issue 2646313002: PaymentApp: Implement invokePaymentApp() in renderer side. (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
index f57dfb8c25efb7ec9cd0967946f684695fca4b9d..5a8fc91c70d8a1c89b8dc1a8217ca3168fc2b2d2 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.cpp
@@ -91,7 +91,7 @@ void WaitUntilObserver::willDispatchEvent() {
// willDispatchEvent() and the last call to decrementPendingActivity(). If
// waitUntil() isn't called, that means between willDispatchEvent() and
// didDispatchEvent().
- if (m_type == NotificationClick)
+ if (m_type == NotificationClick || m_type == PaymentRequest)
m_executionContext->allowWindowInteraction();
incrementPendingActivity();

Powered by Google App Engine
This is Rietveld 408576698