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

Unified Diff: chrome/browser/notifications/message_center_notification_manager.cc

Issue 554213003: Request the icon of a Web Notification in the renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removes now redundant code Created 6 years, 3 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: chrome/browser/notifications/message_center_notification_manager.cc
diff --git a/chrome/browser/notifications/message_center_notification_manager.cc b/chrome/browser/notifications/message_center_notification_manager.cc
index 17e177fd88109a650310103072644a2b8791fd49..3775787bdd0e2be3c2497929e5d8789c9c151e87 100644
--- a/chrome/browser/notifications/message_center_notification_manager.cc
+++ b/chrome/browser/notifications/message_center_notification_manager.cc
@@ -353,15 +353,6 @@ void MessageCenterNotificationManager::ImageDownloads::StartDownloads(
// In case all downloads are synchronous, assume a pending download.
AddPendingDownload();
- // Notification primary icon.
- StartDownloadWithImage(
- notification,
- &notification.icon(),
- notification.icon_url(),
- base::Bind(&message_center::MessageCenter::SetNotificationIcon,
- base::Unretained(message_center_),
- notification.delegate_id()));
-
// Notification image.
StartDownloadWithImage(
notification,

Powered by Google App Engine
This is Rietveld 408576698