| Index: Source/modules/notifications/Notification.h
|
| diff --git a/Source/modules/notifications/Notification.h b/Source/modules/notifications/Notification.h
|
| index 938c5ad6a1779638b670f8ef2d4cfe6e5c8e4714..3dd3aa6059b7f1359521d473652cd0b17ace1685 100644
|
| --- a/Source/modules/notifications/Notification.h
|
| +++ b/Source/modules/notifications/Notification.h
|
| @@ -148,7 +148,6 @@ private:
|
| void setVibrate(const NavigatorVibration::VibrationPattern& vibrate) { m_vibrate = vibrate; }
|
| void setSilent(bool silent) { m_silent = silent; }
|
| void setSerializedData(PassRefPtr<SerializedScriptValue> data) { m_serializedData = data; }
|
| - void setActions(const Vector<NotificationAction>& actions) { m_actions = actions; }
|
|
|
| void setPersistentId(int64_t persistentId) { m_persistentId = persistentId; }
|
|
|
| @@ -192,6 +191,7 @@ void Notification::actionsToWebActions(const Vector<NotificationAction, C, A>& a
|
| WebVector<WebNotificationAction> clearedAndResized(count);
|
| webActions.swap(clearedAndResized);
|
| for (size_t i = 0; i < count; ++i) {
|
| + webActions[i].action = actions[i].action();
|
| webActions[i].title = actions[i].title();
|
| }
|
| }
|
|
|