| Index: chrome/browser/extensions/extension_host.cc
|
| diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
|
| index 6b97d397d4d12b6893d1cc646f301f1344d2aac9..eb5691752fdeb7f4f3a4a9df11c70ccd3b360a7e 100644
|
| --- a/chrome/browser/extensions/extension_host.cc
|
| +++ b/chrome/browser/extensions/extension_host.cc
|
| @@ -162,15 +162,6 @@ ExtensionHost::~ExtensionHost() {
|
| UMA_HISTOGRAM_LONG_TIMES("Extensions.EventPageActiveTime",
|
| since_created_.Elapsed());
|
| }
|
| - // Clear the extension's renderer process out from any WebContents
|
| - // that might have it in their back history.
|
| - // TODO(jyasskin): Remove this hack by making extension reloading
|
| - // wait for renderer shutdown.
|
| - content::NotificationService::current()->Notify(
|
| - content::NOTIFICATION_RENDERER_PROCESS_CLOSING,
|
| - content::Source<content::RenderProcessHost>(render_process_host()),
|
| - content::NotificationService::NoDetails());
|
| -
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_EXTENSION_HOST_DESTROYED,
|
| content::Source<Profile>(profile_),
|
|
|