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

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

Issue 580243004: Remove unnecessary image downloading handler of notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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/desktop_notification_service.cc
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
index ca8770c9e98a631726ad539c8341635cbe4fba9b..598703410964f410b459c1404060aaa6c4928415 100644
--- a/chrome/browser/notifications/desktop_notification_service.cc
+++ b/chrome/browser/notifications/desktop_notification_service.cc
@@ -158,8 +158,7 @@ void DesktopNotificationService::ShowDesktopNotification(
base::Closure* cancel_callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
const GURL& origin = params.origin;
- NotificationObjectProxy* proxy =
- new NotificationObjectProxy(render_frame_host, delegate.Pass());
+ NotificationObjectProxy* proxy =new NotificationObjectProxy(delegate.Pass());
oshima 2014/09/21 15:26:01 nit: space after =
Jun Mukai 2014/09/22 18:54:37 Done.
base::string16 display_source = DisplayNameForOriginInProcessId(
origin, render_frame_host->GetProcess()->GetID());

Powered by Google App Engine
This is Rietveld 408576698