Chromium Code Reviews| Index: net/test/spawner_communicator.cc |
| diff --git a/net/test/spawner_communicator.cc b/net/test/spawner_communicator.cc |
| index 7b12e24217eb8a7a11a5401ce57ecdd577700040..3d327787ba83fb917aec0df2251e573083c2bf29 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( |
|
erikwright (departed)
2012/08/24 08:02:55
probably want context_->, not '.'
shalev
2012/08/24 15:36:40
Done.
|
| + GenerateSpawnerCommandURL(command, port_), this)); |
| DCHECK(cur_request_.get()); |
| int current_request_id = ++next_id_; |
| SpawnerRequestData* data = new SpawnerRequestData(current_request_id, |