Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index eb459ede4b43bf2b77a7e3ef1ca8367f4166d185..af172a295ccc2a6e41415aa264269d8dbb940ec4 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -90,7 +90,6 @@ class DesktopNotificationDelegateImpl : public DesktopNotificationDelegate { |
rfh->Send(new DesktopNotificationMsg_PostError( |
rfh->GetRoutingID(), notification_id_)); |
- delete this; |
} |
virtual void NotificationClosed(bool by_user) OVERRIDE { |
@@ -103,7 +102,6 @@ class DesktopNotificationDelegateImpl : public DesktopNotificationDelegate { |
rfh->GetRoutingID(), notification_id_, by_user)); |
static_cast<RenderFrameHostImpl*>(rfh)->NotificationClosed( |
notification_id_); |
- delete this; |
} |
virtual void NotificationClick() OVERRIDE { |