| Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| index c522068d322638466cb955d30e1da14207199146..cefeb8b61c18b9e08339c6402bbfeb6a9174ef4f 100644
|
| --- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| +++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| @@ -244,7 +244,8 @@ void ServiceWorkerGlobalScopeProxy::dispatchNotificationClickEvent(
|
| int eventID,
|
| const WebString& notificationID,
|
| const WebNotificationData& data,
|
| - int actionIndex) {
|
| + int actionIndex,
|
| + const WebString& reply) {
|
| WaitUntilObserver* observer = WaitUntilObserver::create(
|
| workerGlobalScope(), WaitUntilObserver::NotificationClick, eventID);
|
| NotificationEventInit eventInit;
|
| @@ -252,6 +253,7 @@ void ServiceWorkerGlobalScopeProxy::dispatchNotificationClickEvent(
|
| workerGlobalScope(), notificationID, data, true /* showing */));
|
| if (0 <= actionIndex && actionIndex < static_cast<int>(data.actions.size()))
|
| eventInit.setAction(data.actions[actionIndex].action);
|
| + eventInit.setReply(reply);
|
| Event* event = NotificationEvent::create(EventTypeNames::notificationclick,
|
| eventInit, observer);
|
| workerGlobalScope()->dispatchExtendableEvent(event, observer);
|
|
|