Index: remoting/host/token_validator_factory_impl_unittest.cc |
diff --git a/remoting/host/token_validator_factory_impl_unittest.cc b/remoting/host/token_validator_factory_impl_unittest.cc |
index ef5aaf52db15b9917dce34969ea973e1e55107e8..38a7e82dee6e70e1a1a325eff994f8c2df262cdd 100644 |
--- a/remoting/host/token_validator_factory_impl_unittest.cc |
+++ b/remoting/host/token_validator_factory_impl_unittest.cc |
@@ -58,7 +58,7 @@ class SetResponseURLRequestContext: public net::TestURLRequestContext { |
net::URLRequestJobFactoryImpl* factory = |
new net::URLRequestJobFactoryImpl(); |
factory->SetProtocolHandler( |
- "https", new FakeProtocolHandler(headers, response)); |
+ "https", make_scoped_ptr(new FakeProtocolHandler(headers, response))); |
context_storage_.set_job_factory(factory); |
} |
}; |