Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc |
index f12182d99e41d4a845b53f47be2eeb26bdd415cf..24140c9e29a3947e35ba784dff253adf1dd14aba 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc |
@@ -673,9 +673,10 @@ TEST_F(ChromeNetworkDailyDataSavingMetricsTest, BackwardTwoDays) { |
TEST_F(ChromeNetworkDailyDataSavingMetricsTest, |
GetDataReductionProxyRequestType) { |
scoped_ptr<DataReductionProxyTestContext> test_context = |
- make_scoped_ptr(new DataReductionProxyTestContext( |
- DataReductionProxyParams::kAllowed, |
- TestDataReductionProxyParams::HAS_ORIGIN, 0)); |
+ DataReductionProxyTestContext::Builder() |
+ .WithParamsFlags(DataReductionProxyParams::kAllowed) |
+ .WithParamsDefinitions(TestDataReductionProxyParams::HAS_ORIGIN) |
+ .Build(); |
TestDataReductionProxyParams* params = test_context->config()->test_params(); |
net::ProxyConfig data_reduction_proxy_config; |