| Index: net/test/spawner_communicator.cc
|
| diff --git a/net/test/spawner_communicator.cc b/net/test/spawner_communicator.cc
|
| index 7b12e24217eb8a7a11a5401ce57ecdd577700040..3a5874a7d08d302239e75bdd695b6b3c68bab576 100644
|
| --- a/net/test/spawner_communicator.cc
|
| +++ b/net/test/spawner_communicator.cc
|
| @@ -169,9 +169,8 @@ void SpawnerCommunicator::SendCommandAndWaitForResultOnIOThread(
|
| // Prepare the URLRequest for sending the command.
|
| DCHECK(!cur_request_.get());
|
| context_.reset(new TestURLRequestContext);
|
| - cur_request_.reset(new URLRequest(GenerateSpawnerCommandURL(command, port_),
|
| - this,
|
| - context_.get()));
|
| + cur_request_.reset(context_->CreateRequest(
|
| + GenerateSpawnerCommandURL(command, port_), this));
|
| DCHECK(cur_request_.get());
|
| int current_request_id = ++next_id_;
|
| SpawnerRequestData* data = new SpawnerRequestData(current_request_id,
|
|
|