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(); |