Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc |
index c9c92e10352b0758259b5eef56dd7abd77fd60be..92ad2139a561fa8eb9f2bac0033fc1b85c1f55fe 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc |
@@ -88,9 +88,13 @@ class DataReductionProxyIODataTest : public testing::Test { |
}; |
TEST_F(DataReductionProxyIODataTest, TestConstruction) { |
+ scoped_refptr<net::URLRequestContextGetter> request_context_getter( |
+ new net::TestURLRequestContextGetter(base::MessageLoopProxy::current())); |
+ |
scoped_ptr<DataReductionProxyIOData> io_data(new DataReductionProxyIOData( |
Client::UNKNOWN, DataReductionProxyParams::kAllowed, net_log(), |
- message_loop_proxy(), message_loop_proxy(), false /* enable_quic */)); |
+ request_context_getter.get(), message_loop_proxy(), message_loop_proxy(), |
+ false /* enable_quic */)); |
// Check that io_data creates an interceptor. Such an interceptor is |
// thoroughly tested by DataReductionProxyInterceptoTest. |