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

Unified Diff: content/renderer/active_notification_tracker.cc

Issue 36073007: [Notification] Stop calling detachPresenter(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 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
« no previous file with comments | « content/renderer/active_notification_tracker.h ('k') | content/renderer/notification_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/active_notification_tracker.cc
diff --git a/content/renderer/active_notification_tracker.cc b/content/renderer/active_notification_tracker.cc
index 9f0b6e0b872ae91c6391834567c604a0d0c3e3ee..6192033b0f55fb379ebd9b5b1ef6355b638a921d 100644
--- a/content/renderer/active_notification_tracker.cc
+++ b/content/renderer/active_notification_tracker.cc
@@ -66,16 +66,6 @@ void ActiveNotificationTracker::Clear() {
}
}
-void ActiveNotificationTracker::DetachAll() {
- ReverseTable::iterator iter;
- for (iter = reverse_notification_table_.begin();
- iter != reverse_notification_table_.end();
- ++iter) {
- WebNotification notification(iter->first);
- notification.detachPresenter();
- }
-}
-
WebNotificationPermissionCallback* ActiveNotificationTracker::GetCallback(
int id) {
return callback_table_.Lookup(id);
« no previous file with comments | « content/renderer/active_notification_tracker.h ('k') | content/renderer/notification_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698