Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 9e3e74ff8da6d44e43fe42bc2893d00747020bbd..24ba43a1da88240a709538fc3b3a3b6232cabc18 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -438,14 +438,16 @@ void ChromeContentBrowserClient::SiteInstanceGotProcess( |
if (!extension) |
return; |
- service->process_map()->Insert( |
- extension->id(), site_instance->GetProcess()->GetID()); |
+ service->process_map()->Insert(extension->id(), |
+ site_instance->GetProcess()->GetID(), |
+ site_instance->id()); |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
base::Bind(&ExtensionInfoMap::RegisterExtensionProcess, |
profile->GetExtensionInfoMap(), |
extension->id(), |
- site_instance->GetProcess()->GetID())); |
+ site_instance->GetProcess()->GetID(), |
+ site_instance->id())); |
} |
void ChromeContentBrowserClient::SiteInstanceDeleting( |
@@ -466,14 +468,16 @@ void ChromeContentBrowserClient::SiteInstanceDeleting( |
if (!extension) |
return; |
- service->process_map()->Remove( |
- extension->id(), site_instance->GetProcess()->GetID()); |
+ service->process_map()->Remove(extension->id(), |
+ site_instance->GetProcess()->GetID(), |
+ site_instance->id()); |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
base::Bind(&ExtensionInfoMap::UnregisterExtensionProcess, |
profile->GetExtensionInfoMap(), |
extension->id(), |
- site_instance->GetProcess()->GetID())); |
+ site_instance->GetProcess()->GetID(), |
+ site_instance->id())); |
} |
bool ChromeContentBrowserClient::ShouldSwapProcessesForNavigation( |