| Index: chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
|
| diff --git a/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc b/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
|
| index feffd4df7288fbc701d88136743450cf7dc9c08c..7ecb8cb04a9876b09f015b3057ebd57ce563b4ea 100644
|
| --- a/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
|
| +++ b/chrome/browser/chromeos/proxy_config_service_impl_unittest.cc
|
| @@ -221,9 +221,11 @@ class ProxyConfigServiceImplTest : public testing::Test {
|
| SetUpNetwork();
|
|
|
| PrefProxyConfigTrackerImpl::RegisterPrefs(pref_service_.registry());
|
| - ProxyConfigServiceImpl::RegisterPrefs(pref_service_.registry());
|
| proxy_config_service_.reset(new ChromeProxyConfigService(NULL));
|
| - config_service_impl_.reset(new ProxyConfigServiceImpl(&pref_service_));
|
| + // Create a ProxyConfigServiceImpl like for the system request context.
|
| + config_service_impl_.reset(
|
| + new ProxyConfigServiceImpl(NULL, // no profile prefs
|
| + &pref_service_));
|
| config_service_impl_->SetChromeProxyConfigService(
|
| proxy_config_service_.get());
|
| // SetChromeProxyConfigService triggers update of initial prefs proxy
|
|
|