Index: chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc |
diff --git a/chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc b/chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc |
index ccd6b4f81886bf6cce2601b688ae2e7216cdadc0..38794aa97aefcba9e9176ee91d7d8381f876fbff 100644 |
--- a/chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc |
+++ b/chrome/browser/notifications/sync_notifier/synced_notification_unittest.cc |
@@ -58,8 +58,8 @@ class StubNotificationUIManager : public NotificationUIManager { |
// Returns true if any notifications match the supplied ID, either currently |
// displayed or in the queue. |
- virtual bool DoesIdExist(const std::string& id) OVERRIDE { |
- return true; |
+ virtual const Notification* FindById(const std::string& id) const OVERRIDE { |
+ return (notification_.id() == id) ? ¬ification_ : NULL; |
} |
// Removes any notifications matching the supplied ID, either currently |