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 aab2b318c6f9b1353d3f0633c04232567f966c62..b032c4eed99564e14156e5f749e25207e00bf081 100644 |
--- a/chrome/browser/notifications/message_center_notification_manager.cc |
+++ b/chrome/browser/notifications/message_center_notification_manager.cc |
@@ -138,7 +138,7 @@ bool MessageCenterNotificationManager::Update(const Notification& notification, |
// the immediate update allowed in the message center. |
std::string old_id = |
old_notification->notification().notification_id(); |
- DCHECK(message_center_->HasNotification(old_id)); |
+ DCHECK(message_center_->FindVisibleNotificationById(old_id)); |
// Add/remove notification in the local list but just update the same |
// one in MessageCenter. |