Index: components/data_reduction_proxy/browser/data_reduction_proxy_settings_unittest.cc |
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_settings_unittest.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_settings_unittest.cc |
index 27c68a6389cab38878e7cab5b1a5c07805a849c8..95a71ba172d88783ea8a1eab49b333c8e245aafe 100644 |
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_settings_unittest.cc |
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_settings_unittest.cc |
@@ -420,9 +420,13 @@ TEST_F(DataReductionProxySettingsTest, CheckInitMetricsWhenNotAllowed) { |
settings_->SetProxyConfigurator(configurator.Pass()); |
scoped_refptr<net::TestURLRequestContextGetter> request_context = |
new net::TestURLRequestContextGetter(base::MessageLoopProxy::current()); |
- settings_->InitDataReductionProxySettings(&pref_service_, |
- &pref_service_, |
- request_context.get()); |
+ settings_->InitDataReductionProxySettings( |
+ &pref_service_, |
+ &pref_service_, |
+ request_context.get(), |
+ base::Bind(&DataReductionProxySettingsTestBase:: |
+ RegisterSyntheticFieldTrialCallback, |
+ base::Unretained(this))); |
base::MessageLoop::current()->RunUntilIdle(); |
} |