Index: content/browser/service_worker/service_worker_process_manager.cc |
diff --git a/content/browser/service_worker/service_worker_process_manager.cc b/content/browser/service_worker/service_worker_process_manager.cc |
index 7395e7b7b7768675ed4d9225df4436e6a6ba5917..ab6012ad97d3e74a38fbd90ad27c68eabdcd8d3e 100644 |
--- a/content/browser/service_worker/service_worker_process_manager.cc |
+++ b/content/browser/service_worker/service_worker_process_manager.cc |
@@ -164,7 +164,7 @@ void ServiceWorkerProcessManager::ReleaseWorkerProcess(int embedded_worker_id) { |
instance_info_.find(embedded_worker_id); |
DCHECK(info != instance_info_.end()); |
RenderProcessHost* rph = NULL; |
- if (info->second.site_instance) { |
+ if (info->second.site_instance.get()) { |
rph = info->second.site_instance->GetProcess(); |
DCHECK_EQ(info->second.process_id, rph->GetID()) |
<< "A SiteInstance's process shouldn't get destroyed while we're " |