| Index: chrome/browser/notifications/non_persistent_notification_handler.cc
|
| diff --git a/chrome/browser/notifications/non_persistent_notification_handler.cc b/chrome/browser/notifications/non_persistent_notification_handler.cc
|
| index 3e21f926c3f27b7e4ec54d03c34dc953aadd7b9a..e2c5d876bc0bd82a105255565afb15df027b185f 100644
|
| --- a/chrome/browser/notifications/non_persistent_notification_handler.cc
|
| +++ b/chrome/browser/notifications/non_persistent_notification_handler.cc
|
| @@ -25,9 +25,12 @@ void NonPersistentNotificationHandler::OnClick(
|
| Profile* profile,
|
| const std::string& origin,
|
| const std::string& notification_id,
|
| - int action_index) {
|
| - // Buttons not supported for non persistent notifications.
|
| + int action_index,
|
| + const base::NullableString16& reply) {
|
| + // Buttons and replies not supported for non persistent notifications.
|
| DCHECK_EQ(action_index, -1);
|
| + DCHECK(reply.is_null());
|
| +
|
| if (notifications_.find(notification_id) != notifications_.end()) {
|
| notifications_[notification_id]->Click();
|
| }
|
|
|