Index: content/child/notifications/notification_manager.cc |
diff --git a/content/child/notifications/notification_manager.cc b/content/child/notifications/notification_manager.cc |
index 95195455295633da3dab73e4b12351c0e8c3303e..2731fc1206af59a5e6fa4bc0e7557555256fa2e9 100644 |
--- a/content/child/notifications/notification_manager.cc |
+++ b/content/child/notifications/notification_manager.cc |
@@ -274,12 +274,12 @@ void NotificationManager::OnDidClose(int notification_id) { |
active_page_notifications_.erase(iter); |
} |
-void NotificationManager::OnDidClick(int notification_id) { |
+void NotificationManager::OnDidClick(int notification_id, int action_index) { |
const auto& iter = active_page_notifications_.find(notification_id); |
if (iter == active_page_notifications_.end()) |
return; |
- iter->second->dispatchClickEvent(); |
+ iter->second->dispatchClickEvent(action_index); |
} |
void NotificationManager::OnDidGetNotifications( |