Chromium Code Reviews| Index: content/browser/appcache/appcache_storage_impl_unittest.cc |
| diff --git a/content/browser/appcache/appcache_storage_impl_unittest.cc b/content/browser/appcache/appcache_storage_impl_unittest.cc |
| index a59be1c7e864bdce8db858915b0293ac665cfade..f05a761ffb46ac3f5fb82151570f4ca60d7c8889 100644 |
| --- a/content/browser/appcache/appcache_storage_impl_unittest.cc |
| +++ b/content/browser/appcache/appcache_storage_impl_unittest.cc |
| @@ -168,8 +168,8 @@ class IOThread : public base::Thread { |
| std::unique_ptr<net::URLRequestJobFactoryImpl> factory( |
| new net::URLRequestJobFactoryImpl()); |
| factory->SetProtocolHandler( |
| - "http", base::WrapUnique(new MockHttpServerJobFactory( |
| - base::WrapUnique(new AppCacheInterceptor())))); |
| + "http", base::MakeUnique<MockHttpServerJobFactory>( |
| + base::WrapUnique(new AppCacheInterceptor()))); |
|
clamy
2016/08/31 18:46:59
This second WrapUnique is not converted because Ap
Adam Rice
2016/09/01 11:25:14
While that kind of thing does happen a lot, in thi
|
| job_factory_ = std::move(factory); |
| request_context_.reset(new net::TestURLRequestContext()); |
| request_context_->set_job_factory(job_factory_.get()); |