Index: chrome/browser/notifications/message_center_notification_manager.cc |
diff --git a/chrome/browser/notifications/message_center_notification_manager.cc b/chrome/browser/notifications/message_center_notification_manager.cc |
index 566173424653be5d5af52272e26a278e4ab1adeb..2054a7ff7c96a2c77e964c0dcf6b174652c926fd 100644 |
--- a/chrome/browser/notifications/message_center_notification_manager.cc |
+++ b/chrome/browser/notifications/message_center_notification_manager.cc |
@@ -307,7 +307,7 @@ void MessageCenterNotificationManager::OnNotificationRemoved( |
NotificationMap::const_iterator iter = |
profile_notifications_.find(notification_id); |
if (iter != profile_notifications_.end()) |
- RemoveProfileNotification(iter->second, by_user); |
+ RemoveProfileNotification(iter->second); |
#if defined(OS_WIN) |
CheckFirstRunTimer(); |
@@ -549,9 +549,7 @@ void MessageCenterNotificationManager::AddProfileNotification( |
} |
void MessageCenterNotificationManager::RemoveProfileNotification( |
- ProfileNotification* profile_notification, |
- bool by_user) { |
- profile_notification->notification().Close(by_user); |
+ ProfileNotification* profile_notification) { |
std::string id = profile_notification->notification().notification_id(); |
profile_notifications_.erase(id); |
delete profile_notification; |