| 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 fad44eb4d08637db2d682900097157e443a90a9d..d76bfc65c207d7d39f2827ab66f0d388b611160f 100644
|
| --- a/chrome/browser/notifications/desktop_notification_service.cc
|
| +++ b/chrome/browser/notifications/desktop_notification_service.cc
|
| @@ -27,8 +27,6 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/desktop_notification_delegate.h"
|
| #include "content/public/browser/notification_service.h"
|
| -#include "content/public/browser/render_frame_host.h"
|
| -#include "content/public/browser/render_process_host.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/show_desktop_notification_params.h"
|
| @@ -186,7 +184,7 @@ void DesktopNotificationService::RequestNotificationPermission(
|
|
|
| void DesktopNotificationService::ShowDesktopNotification(
|
| const content::ShowDesktopNotificationHostMsgParams& params,
|
| - content::RenderFrameHost* render_frame_host,
|
| + int render_process_id,
|
| scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
| base::Closure* cancel_callback) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| @@ -194,7 +192,7 @@ void DesktopNotificationService::ShowDesktopNotification(
|
| NotificationObjectProxy* proxy = new NotificationObjectProxy(delegate.Pass());
|
|
|
| base::string16 display_source = DisplayNameForOriginInProcessId(
|
| - origin, render_frame_host->GetProcess()->GetID());
|
| + origin, render_process_id);
|
|
|
| // TODO(peter): Icons for Web Notifications are currently always requested for
|
| // 1x scale, whereas the displays on which they can be displayed can have a
|
|
|