Index: chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc |
diff --git a/chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc b/chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc |
index e2540fbc6e07191912a60c5e98fdece3398c1147..fcc04162d927f3d6b965f2496c5a79287fff6eca 100644 |
--- a/chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc |
+++ b/chrome/browser/net/pref_proxy_config_tracker_impl_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "base/prefs/testing_pref_service.h" |
#include "base/test/histogram_tester.h" |
#include "base/thread_task_runner_handle.h" |
+#include "chrome/browser/prefs/command_line_pref_store.h" |
#include "chrome/browser/prefs/pref_service_mock_factory.h" |
#include "chrome/common/chrome_switches.h" |
#include "components/proxy_config/proxy_config_dictionary.h" |
@@ -429,7 +430,7 @@ class PrefProxyConfigTrackerImplCommandLineTest |
} |
scoped_refptr<PrefRegistrySimple> registry = new PrefRegistrySimple; |
PrefServiceMockFactory factory; |
- factory.SetCommandLine(&command_line_); |
+ factory.set_command_line_prefs(new CommandLinePrefStore(&command_line_)); |
pref_service_ = factory.Create(registry.get()).Pass(); |
Init(pref_service_.get(), registry.get()); |
} |