Index: chrome/browser/notifications/balloon_notification_ui_manager.cc |
diff --git a/chrome/browser/notifications/balloon_notification_ui_manager.cc b/chrome/browser/notifications/balloon_notification_ui_manager.cc |
index d6ea75e5b5a41ba1a48b90715d3255057bc202f8..e19b4f68c82e7bff9921640364a5b843333dd5a9 100644 |
--- a/chrome/browser/notifications/balloon_notification_ui_manager.cc |
+++ b/chrome/browser/notifications/balloon_notification_ui_manager.cc |
@@ -44,10 +44,12 @@ void BalloonNotificationUIManager::SetBalloonCollection( |
balloon_collection_->set_space_change_listener(this); |
} |
-bool BalloonNotificationUIManager::DoesIdExist(const std::string& id) { |
- if (NotificationUIManagerImpl::DoesIdExist(id)) |
- return true; |
- return balloon_collection_->DoesIdExist(id); |
+const Notification* BalloonNotificationUIManager::FindById( |
+ const std::string& id) const { |
+ const Notification* notification = NotificationUIManagerImpl::FindById(id); |
+ if (notification) |
+ return notification; |
+ return balloon_collection_->FindById(id); |
} |
bool BalloonNotificationUIManager::CancelById(const std::string& id) { |