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

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

Issue 574273003: Remove Notification::small_image_url_ as it has no users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/notifications/notification.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 28c5f795178c2f9ee2a680958fdadc54a4e88240..ed495036cdeb435a9b173531a2c8b7936bb18b5e 100644
--- a/chrome/browser/notifications/message_center_notification_manager.cc
+++ b/chrome/browser/notifications/message_center_notification_manager.cc
@@ -408,7 +408,7 @@ void MessageCenterNotificationManager::ImageDownloads::StartDownloadWithImage(
if (url.is_empty())
return;
- content::WebContents* contents = notification.GetWebContents();
+ content::WebContents* contents = notification.delegate()->GetWebContents();
if (!contents) {
LOG(WARNING) << "Notification needs an image but has no WebContents";
return;
@@ -479,7 +479,7 @@ void MessageCenterNotificationManager::ProfileNotification::StartDownloads() {
void
MessageCenterNotificationManager::ProfileNotification::OnDownloadsCompleted() {
- notification_.DoneRendering();
+ notification_.delegate()->ReleaseRenderViewHost();
}
void
« no previous file with comments | « no previous file | chrome/browser/notifications/notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698