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

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: include logging.h Created 6 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
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 7a0a0a539b8c62fc59b2a1ffb89993b624dc1a07..e4f20c2bffafdcf08442c05df0a137ab94378bc3 100644
--- a/chrome/browser/notifications/message_center_notification_manager.cc
+++ b/chrome/browser/notifications/message_center_notification_manager.cc
@@ -379,15 +379,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.id()));
-
// Notification image.
StartDownloadWithImage(
notification,

Powered by Google App Engine
This is Rietveld 408576698