| 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 c28fcbe3e055dabba994a1fb3bb3e940044ecd19..a78a3b089e539e13150731e8e3e5d3ef0108496f 100644
|
| --- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| +++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
|
| @@ -245,7 +245,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;
|
| @@ -253,6 +254,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);
|
|
|