| Index: chrome/browser/notifications/notification_object_proxy.cc
|
| diff --git a/chrome/browser/notifications/notification_object_proxy.cc b/chrome/browser/notifications/notification_object_proxy.cc
|
| index a21b4c0bf6290b24444fd94e2bf224a4cd0dbdd0..0c54952553b7b7733b65c37a404d8715376a6d99 100644
|
| --- a/chrome/browser/notifications/notification_object_proxy.cc
|
| +++ b/chrome/browser/notifications/notification_object_proxy.cc
|
| @@ -12,11 +12,8 @@
|
| #include "content/public/browser/web_contents.h"
|
|
|
| NotificationObjectProxy::NotificationObjectProxy(
|
| - content::RenderFrameHost* render_frame_host,
|
| scoped_ptr<content::DesktopNotificationDelegate> delegate)
|
| - : render_process_id_(render_frame_host->GetProcess()->GetID()),
|
| - render_frame_id_(render_frame_host->GetRoutingID()),
|
| - delegate_(delegate.Pass()),
|
| + : delegate_(delegate.Pass()),
|
| displayed_(false),
|
| id_(base::GenerateGUID()) {
|
| }
|
| @@ -48,8 +45,3 @@ void NotificationObjectProxy::Click() {
|
| std::string NotificationObjectProxy::id() const {
|
| return id_;
|
| }
|
| -
|
| -content::WebContents* NotificationObjectProxy::GetWebContents() const {
|
| - return content::WebContents::FromRenderFrameHost(
|
| - content::RenderFrameHost::FromID(render_process_id_, render_frame_id_));
|
| -}
|
|
|