| Index: chrome/browser/notifications/extension_welcome_notification.cc
|
| diff --git a/chrome/browser/notifications/extension_welcome_notification.cc b/chrome/browser/notifications/extension_welcome_notification.cc
|
| index 50a5a09080bae3fb4abe145951696d778b03e148..cbe7e79beca2da3de0b40b0ebd4bb0278be4274d 100644
|
| --- a/chrome/browser/notifications/extension_welcome_notification.cc
|
| +++ b/chrome/browser/notifications/extension_welcome_notification.cc
|
| @@ -289,7 +289,8 @@ void ExtensionWelcomeNotification::ShowWelcomeNotification(
|
|
|
| void ExtensionWelcomeNotification::HideWelcomeNotification() {
|
| if (!welcome_notification_id_.empty() &&
|
| - GetMessageCenter()->HasNotification(welcome_notification_id_)) {
|
| + GetMessageCenter()->FindVisibleNotificationById(
|
| + welcome_notification_id_) != NULL) {
|
| GetMessageCenter()->RemoveNotification(welcome_notification_id_, false);
|
| StopExpirationTimer();
|
| }
|
|
|