Index: chrome/browser/net/ssl_config_service_manager_pref_unittest.cc |
diff --git a/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc b/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc |
index d9d7767741ee48c81849f0c401d978aa9478a4ff..beeb8eb635c568a256b56f8a90da6566b818ff82 100644 |
--- a/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc |
+++ b/chrome/browser/net/ssl_config_service_manager_pref_unittest.cc |
@@ -154,7 +154,7 @@ TEST_F(SSLConfigServiceManagerPrefTest, NoCommandLinePrefs) { |
scoped_refptr<TestingPrefStore> local_state_store(new TestingPrefStore()); |
PrefServiceMockBuilder builder; |
- builder.WithUserPrefs(local_state_store.get()); |
+ builder.set_user_prefs(local_state_store); |
scoped_refptr<PrefRegistrySimple> registry = new PrefRegistrySimple; |
scoped_ptr<PrefService> local_state(builder.Create(registry.get())); |
@@ -205,8 +205,8 @@ TEST_F(SSLConfigServiceManagerPrefTest, CommandLinePrefs) { |
command_line.AppendSwitch(switches::kEnableUnrestrictedSSL3Fallback); |
PrefServiceMockBuilder builder; |
- builder.WithUserPrefs(local_state_store.get()); |
- builder.WithCommandLine(&command_line); |
+ builder.set_user_prefs(local_state_store); |
+ builder.SetCommandLine(&command_line); |
scoped_refptr<PrefRegistrySimple> registry = new PrefRegistrySimple; |
scoped_ptr<PrefService> local_state(builder.Create(registry.get())); |