Index: content/browser/service_worker/embedded_worker_instance.cc |
diff --git a/content/browser/service_worker/embedded_worker_instance.cc b/content/browser/service_worker/embedded_worker_instance.cc |
index 1e78b20545b3cc5244ac2099cd7d5179a9716d06..6c9dc1fc4e9250e9f9781c117285d15aa9745d5e 100644 |
--- a/content/browser/service_worker/embedded_worker_instance.cc |
+++ b/content/browser/service_worker/embedded_worker_instance.cc |
@@ -327,9 +327,9 @@ class EmbeddedWorkerInstance::StartTask { |
// Notify the instance that a process is allocated. |
state_ = ProcessAllocationState::ALLOCATED; |
instance_->OnProcessAllocated( |
- base::WrapUnique(new WorkerProcessHandle( |
- instance_->context_, instance_->embedded_worker_id(), process_id, |
- is_new_process)), |
+ base::MakeUnique<WorkerProcessHandle>(instance_->context_, |
+ instance_->embedded_worker_id(), |
+ process_id, is_new_process), |
start_situation); |
// TODO(bengr): Support changes to this setting while the worker |