Index: net/proxy/proxy_script_fetcher_impl_unittest.cc |
diff --git a/net/proxy/proxy_script_fetcher_impl_unittest.cc b/net/proxy/proxy_script_fetcher_impl_unittest.cc |
index 8d42514a957ff55cf136306cbc7ae61d095f258a..9c1ca98a76488b951da4dc6aafb7d378ab6e3216 100644 |
--- a/net/proxy/proxy_script_fetcher_impl_unittest.cc |
+++ b/net/proxy/proxy_script_fetcher_impl_unittest.cc |
@@ -71,7 +71,8 @@ class RequestContext : public URLRequestContext { |
storage_.set_http_transaction_factory(new HttpCache( |
network_session.get(), HttpCache::DefaultBackend::InMemory(0))); |
URLRequestJobFactoryImpl* job_factory = new URLRequestJobFactoryImpl(); |
- job_factory->SetProtocolHandler("file", new FileProtocolHandler()); |
+ job_factory->SetProtocolHandler( |
+ "file", new FileProtocolHandler(base::MessageLoopProxy::current())); |
storage_.set_job_factory(job_factory); |
} |