Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2345)

Unified Diff: ash/system/web_notification/web_notification_tray_unittest.cc

Issue 10855079: Fix Ash notification updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/system/web_notification/web_notification_tray_unittest.cc
diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc
index 7240a2a538a9fbb7592c40803e0a41dc9f47bd3a..4b9d9d595303e93e8641c17665704435becad9a6 100644
--- a/ash/system/web_notification/web_notification_tray_unittest.cc
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc
@@ -57,6 +57,7 @@ class TestDelegate : public WebNotificationTray::Delegate {
void RemoveNotification(WebNotificationTray* tray, const std::string& id) {
tray->RemoveNotification(id);
+ notification_ids_.erase(id);
}
bool HasNotificationId(const std::string& id) {

Powered by Google App Engine
This is Rietveld 408576698