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

Unified Diff: chrome/browser/chromeos/notifications/system_notification.cc

Issue 4635007: When an extension is uninstalled, close all desktop notifications from that e... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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: chrome/browser/chromeos/notifications/system_notification.cc
===================================================================
--- chrome/browser/chromeos/notifications/system_notification.cc (revision 66634)
+++ chrome/browser/chromeos/notifications/system_notification.cc (working copy)
@@ -65,9 +65,7 @@
void SystemNotification::Hide() {
if (visible_) {
- collection_->Remove(Notification(GURL(), GURL(), string16(), string16(),
- delegate_.get()));
-
+ collection_->RemoveById(delegate_->id());
visible_ = false;
urgent_ = false;
}
« no previous file with comments | « chrome/browser/chromeos/notifications/notification_panel.cc ('k') | chrome/browser/cocoa/notifications/balloon_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698