| Index: ios/net/protocol_handler_util_unittest.mm
|
| diff --git a/ios/net/protocol_handler_util_unittest.mm b/ios/net/protocol_handler_util_unittest.mm
|
| index da39df6fd37e6f053df45b72f3341b5ae09639f3..1193dc75a66dd4ab50d33673ae56ae861102a7a5 100644
|
| --- a/ios/net/protocol_handler_util_unittest.mm
|
| +++ b/ios/net/protocol_handler_util_unittest.mm
|
| @@ -110,8 +110,10 @@ class ProtocolHandlerUtilTest : public testing::Test,
|
| public:
|
| ProtocolHandlerUtilTest() : request_context_(new TestURLRequestContext) {
|
| // Ownership of the protocol handlers is transferred to the factory.
|
| - job_factory_.SetProtocolHandler("http", new NetProtocolHandler);
|
| - job_factory_.SetProtocolHandler("data", new DataProtocolHandler);
|
| + job_factory_.SetProtocolHandler("http",
|
| + make_scoped_ptr(new NetProtocolHandler));
|
| + job_factory_.SetProtocolHandler("data",
|
| + make_scoped_ptr(new DataProtocolHandler));
|
| request_context_->set_job_factory(&job_factory_);
|
| }
|
|
|
|
|