Index: chrome/browser/extensions/api/notifications/notifications_api.cc |
diff --git a/chrome/browser/extensions/api/notifications/notifications_api.cc b/chrome/browser/extensions/api/notifications/notifications_api.cc |
index 0f3b7675f3a6506db299ba06ee782167a71d7911..631dbf4b219164e35619178184d2440805a7cc69 100644 |
--- a/chrome/browser/extensions/api/notifications/notifications_api.cc |
+++ b/chrome/browser/extensions/api/notifications/notifications_api.cc |
@@ -81,11 +81,8 @@ class NotificationsApiDelegate : public NotificationDelegate { |
profile_(profile), |
extension_id_(extension_id), |
id_(id), |
- scoped_id_(CreateScopedIdentifier(extension_id, id)), |
- process_id_(-1) { |
+ scoped_id_(CreateScopedIdentifier(extension_id, id)) { |
DCHECK(api_function_.get()); |
- if (api_function_->render_view_host()) |
- process_id_ = api_function->render_view_host()->GetProcess()->GetID(); |
} |
virtual void Display() OVERRIDE { } |
@@ -125,10 +122,6 @@ class NotificationsApiDelegate : public NotificationDelegate { |
return scoped_id_; |
} |
- virtual int process_id() const OVERRIDE { |
- return process_id_; |
- } |
- |
virtual content::WebContents* GetWebContents() const OVERRIDE { |
// We're holding a reference to api_function_, so we know it'll be valid |
// until ReleaseRVH is called, and api_function_ (as a |
@@ -169,7 +162,6 @@ class NotificationsApiDelegate : public NotificationDelegate { |
const std::string extension_id_; |
const std::string id_; |
const std::string scoped_id_; |
- int process_id_; |
DISALLOW_COPY_AND_ASSIGN(NotificationsApiDelegate); |
}; |